Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.91 MB / 358.8 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 67.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3495, allocations: 65.47 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.00302/0.3525, allocations: 1.709 MB / 0.5587 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3536, allocations: 0.5659 MB / 0.5593 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.3536, allocations: 4 kB / 0.5593 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.3538, allocations: 55.8 kB / 0.5593 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.3541, allocations: 103.6 kB / 0.5594 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.3544, allocations: 131 kB / 0.5595 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3546, allocations: 87.75 kB / 0.5596 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.3547, allocations: 18.05 kB / 0.5596 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.419e-05/0.3548, allocations: 43.84 kB / 0.5597 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3549, allocations: 47.83 kB / 0.5597 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3549, allocations: 4 kB / 0.5597 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.355, allocations: 59.91 kB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.3551, allocations: 23.86 kB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.3551, allocations: 39.73 kB / 0.5599 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3553, allocations: 107.5 kB / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3553, allocations: 0 / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3553, allocations: 0 / 0.56 GB, free: 4.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3553, allocations: 4 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005113/0.3558, allocations: 357.6 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3559, allocations: 11.97 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.3559, allocations: 34.75 kB / 0.5603 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3559, allocations: 12.84 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3561, allocations: 146.3 kB / 0.5605 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3561, allocations: 384 / 0.5605 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3562, allocations: 8.312 kB / 0.5605 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3563, allocations: 65.61 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3564, allocations: 7.938 kB / 0.5606 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3564, allocations: 4 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3564, allocations: 0 / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3565, allocations: 39.95 kB / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.357, allocations: 275.8 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3572, allocations: 62.58 kB / 0.5609 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.3573, allocations: 20.84 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3573, allocations: 8.109 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3574, allocations: 34.56 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 5.901e-06/0.3574, allocations: 3.984 kB / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001405/0.3588, allocations: 401.3 kB / 0.5614 GB, free: 3.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3588, allocations: 59.28 kB / 0.5614 GB, free: 3.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.359, allocations: 195.2 kB / 0.5616 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.359, allocations: 25.7 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3591, allocations: 112.1 kB / 0.5618 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3592, allocations: 31.7 kB / 0.5618 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3592, allocations: 29.7 kB / 0.5618 GB, free: 2.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3593, allocations: 326.8 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3595, allocations: 39.91 kB / 0.5622 GB, free: 2.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3596, allocations: 43.97 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.3598, allocations: 100.8 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3598, allocations: 0 / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000324/0.3602, allocations: 149.8 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3602, allocations: 7.938 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3602, allocations: 0 / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3602, allocations: 3.938 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3603, allocations: 27.97 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3603, allocations: 0 / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.3604, allocations: 15.98 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3604, allocations: 4 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.3605, allocations: 121.8 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3605, allocations: 11.91 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.3609, allocations: 175 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3609, allocations: 7.938 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3609, allocations: 0 / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3609, allocations: 0 / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.3616, allocations: 439.1 kB / 0.5632 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3616, allocations: 0 / 0.5632 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3617, allocations: 39.97 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3617, allocations: 4 kB / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3617, allocations: 0 / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3617, allocations: 4 kB / 0.5633 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3617, allocations: 0 / 0.5633 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.3621, allocations: 261 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.3621, allocations: 11.91 kB / 0.5635 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3621, allocations: 4.078 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3622, allocations: 16.12 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3623, allocations: 11.98 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3623, allocations: 7.984 kB / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3624, allocations: 149.8 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3624, allocations: 0 / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3627, allocations: 31.92 kB / 0.5637 GB, free: 0.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002293/0.365, allocations: 1.133 MB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.3653, allocations: 103.9 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3653, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.3654, allocations: 59.89 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3658, allocations: 19.98 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3682, allocations: 1.824 MB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.3686, allocations: 0.7198 MB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.3687, allocations: 12.48 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.3688, allocations: 43.36 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3688, allocations: 0 / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.3979, allocations: 3.572 MB / 0.5711 GB, free: 9.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 4.062 kB / 0.5711 GB, free: 9.242 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.915189114864916]