Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.00187/0.00187, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002324/0.002324, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.238/0.238, 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.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.91 kB / 0.491 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1295, allocations: 65.99 MB / 0.5555 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004381/0.1339, allocations: 2.284 MB / 0.5577 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.1362, allocations: 1.322 MB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1364, allocations: 7.938 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.1368, allocations: 143.2 kB / 0.5591 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.1374, allocations: 262.9 kB / 0.5594 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.1379, allocations: 191.5 kB / 0.5596 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.1384, allocations: 462.6 kB / 0.56 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1386, allocations: 49.06 kB / 0.5601 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.139, allocations: 342.9 kB / 0.5604 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1392, allocations: 175.1 kB / 0.5606 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.1392, allocations: 23.94 kB / 0.5606 GB, free: 496 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1394, allocations: 71.97 kB / 0.5607 GB, free: 424 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.1396, allocations: 159.4 kB / 0.5608 GB, free: 264 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1397, allocations: 206.3 kB / 0.561 GB, free: 56 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.1403, allocations: 477.6 kB / 0.5615 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1403, allocations: 4 kB / 0.5615 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1403, allocations: 3.938 kB / 0.5615 GB, free: 15.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1404, allocations: 0 / 0.5615 GB, free: 15.57 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001247/0.1416, allocations: 0.9171 MB / 0.5624 GB, free: 14.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1416, allocations: 12.02 kB / 0.5624 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.1417, allocations: 50.67 kB / 0.5624 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1418, allocations: 72.47 kB / 0.5625 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.1424, allocations: 448.8 kB / 0.5629 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1425, allocations: 8.375 kB / 0.5629 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.1425, allocations: 27.89 kB / 0.563 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.1429, allocations: 196.9 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1429, allocations: 0 / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1429, allocations: 8 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1429, allocations: 0 / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.1432, allocations: 95.86 kB / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.1441, allocations: 0.825 MB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.1448, allocations: 242.4 kB / 0.5643 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.145, allocations: 79.53 kB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.145, allocations: 12 kB / 0.5644 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.1454, allocations: 198.6 kB / 0.5646 GB, free: 12.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.1454, allocations: 0 / 0.5646 GB, free: 12.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002621/0.148, allocations: 1.206 MB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1481, allocations: 136.5 kB / 0.5659 GB, free: 10.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1493, allocations: 0.9575 MB / 0.5668 GB, free: 9.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.1493, allocations: 41.7 kB / 0.5668 GB, free: 9.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.1495, allocations: 277 kB / 0.5671 GB, free: 9.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1497, allocations: 142.8 kB / 0.5672 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1498, allocations: 82.08 kB / 0.5673 GB, free: 9.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1499, allocations: 318 kB / 0.5676 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1502, allocations: 116.8 kB / 0.5677 GB, free: 8.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.1505, allocations: 187.5 kB / 0.5679 GB, free: 8.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.1511, allocations: 323 kB / 0.5682 GB, free: 8.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1511, allocations: 4 kB / 0.5682 GB, free: 8.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008836/0.152, allocations: 436.9 kB / 0.5686 GB, free: 7.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.152, allocations: 8 kB / 0.5686 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.152, allocations: 0 / 0.5686 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/0.1521, allocations: 4.125 kB / 0.5686 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1524, allocations: 99.83 kB / 0.5687 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.1524, allocations: 11.92 kB / 0.5688 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.1526, allocations: 15.98 kB / 0.5688 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.1526, allocations: 16 kB / 0.5688 GB, free: 7.695 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0004078/0.153, allocations: 254.1 kB / 0.569 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.1532, allocations: 79.48 kB / 0.5691 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.1534, allocations: 89.73 kB / 0.5692 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.1534, allocations: 12 kB / 0.5692 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.1534, allocations: 7.875 kB / 0.5692 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1534, allocations: 3.984 kB / 0.5692 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.1555, allocations: 1.338 MB / 0.5705 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.1556, allocations: 4 kB / 0.5705 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.1557, allocations: 63.91 kB / 0.5706 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.1557, allocations: 4 kB / 0.5706 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.1558, allocations: 12 kB / 0.5706 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.1558, allocations: 7.984 kB / 0.5706 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.1558, allocations: 12.12 kB / 0.5706 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.1568, allocations: 0.7939 MB / 0.5714 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.157, allocations: 188.9 kB / 0.5716 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.1571, allocations: 23.92 kB / 0.5716 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.1574, allocations: 19.98 kB / 0.5716 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.1575, allocations: 43.84 kB / 0.5717 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.1575, allocations: 27.92 kB / 0.5717 GB, free: 4.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008202/0.1583, allocations: 0.706 MB / 0.5724 GB, free: 3.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1583, allocations: 0 / 0.5724 GB, free: 3.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.1589, allocations: 83.94 kB / 0.5725 GB, free: 3.781 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003301/0.1622, allocations: 1.756 MB / 0.5742 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006776/0.1629, allocations: 303.6 kB / 0.5745 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1629, allocations: 0 / 0.5745 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.1632, allocations: 143.7 kB / 0.5746 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.1641, allocations: 134.3 kB / 0.5747 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006874/0.171, allocations: 5.143 MB / 0.5797 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.1716, allocations: 0.9241 MB / 0.5806 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.1719, allocations: 75.3 kB / 0.5807 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.1722, allocations: 215.3 kB / 0.5809 GB, free: 11.05 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1722, allocations: 0 / 0.5809 GB, free: 11.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3001/0.4722, allocations: 11.56 MB / 0.5922 GB, free: 36.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.043/9.515, allocations: 12.23 kB / 0.5922 GB, free: 36.65 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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: 12.812968289013952]