Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001437/0.001437, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001519/0.001519, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.504/1.504, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003279/0.003279, allocations: 71.89 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1492, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003324/0.1525, allocations: 1.659 MB / 0.557 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1544, allocations: 1.214 MB / 0.5582 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.1545, allocations: 7.938 kB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1547, allocations: 31.78 kB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.155, allocations: 75.62 kB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1554, allocations: 174.8 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1556, allocations: 83.81 kB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1557, allocations: 15.98 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.1558, allocations: 35.78 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1559, allocations: 31.86 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.156, allocations: 4 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.1562, allocations: 107.9 kB / 0.5587 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.1562, allocations: 27.91 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.1563, allocations: 31.8 kB / 0.5588 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1566, allocations: 147.5 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1566, allocations: 3.984 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1566, allocations: 4 kB / 0.559 GB, free: 2.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1566, allocations: 3.938 kB / 0.559 GB, free: 2.164 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005923/0.1572, allocations: 422.7 kB / 0.5594 GB, free: 1.703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1572, allocations: 8.031 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.1572, allocations: 42.69 kB / 0.5594 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1573, allocations: 8.891 kB / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1575, allocations: 200.2 kB / 0.5596 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1575, allocations: 8.359 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1575, allocations: 4.375 kB / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1577, allocations: 75.33 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1578, allocations: 0 / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1578, allocations: 8 kB / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1578, allocations: 0 / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1579, allocations: 43.89 kB / 0.5597 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1584, allocations: 316.7 kB / 0.56 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1585, allocations: 46.56 kB / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.1586, allocations: 24.92 kB / 0.5601 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1586, allocations: 4 kB / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1587, allocations: 38.5 kB / 0.5601 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1587, allocations: 0 / 0.5601 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008487/0.1595, allocations: 225.3 kB / 0.5604 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.1596, allocations: 85.09 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1597, allocations: 160.5 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1598, allocations: 33.64 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1598, allocations: 100.1 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1599, allocations: 27.86 kB / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1599, allocations: 21.7 kB / 0.5608 GB, free: 76 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1601, allocations: 322.8 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1602, allocations: 31.97 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1604, allocations: 57.69 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.1606, allocations: 88.78 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1606, allocations: 0 / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003341/0.1609, allocations: 133.8 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.161, allocations: 4 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.161, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.161, allocations: 3.984 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1611, allocations: 19.98 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1611, allocations: 0 / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.1612, allocations: 19.92 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1612, allocations: 0 / 0.5614 GB, free: 15.38 MB / 430.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 (7): * Single equations (assignments): 7 * 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 9.626e-05/0.1613, allocations: 124 kB / 0.5615 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1613, allocations: 11.91 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.1617, allocations: 142.2 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1617, allocations: 3.938 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1617, allocations: 0 / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.1617, allocations: 7.922 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.1624, allocations: 414.5 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1624, allocations: 0 / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.1625, allocations: 19.92 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1625, allocations: 4 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1625, allocations: 7.922 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1625, allocations: 0 / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1625, allocations: 0 / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1629, allocations: 223.4 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.1629, allocations: 89.06 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.163, allocations: 7.875 kB / 0.5624 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1631, allocations: 11.98 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1631, allocations: 16.27 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1631, allocations: 0 / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1632, allocations: 116.8 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1632, allocations: 0 / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.1636, allocations: 47.8 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002328/0.1659, allocations: 1.159 MB / 0.5637 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1662, allocations: 91.86 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1662, allocations: 0 / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1664, allocations: 47.95 kB / 0.5639 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1668, allocations: 16 kB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.1692, allocations: 1.651 MB / 0.5655 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1695, allocations: 0.7078 MB / 0.5662 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1696, allocations: 28.7 kB / 0.5662 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.1697, allocations: 31.42 kB / 0.5663 GB, free: 10.38 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1697, allocations: 0 / 0.5663 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.1984, allocations: 3.62 MB / 0.5698 GB, free: 6.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.313, allocations: 17.98 kB / 0.5698 GB, free: 6.758 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 11.479890540940687]