Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001444/0.001444, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001487/0.001487, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.586/1.586, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.238/0.238, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",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.001961/0.001961, allocations: 67.89 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 65.43 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003979/0.1671, allocations: 1.752 MB / 0.5542 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1691, allocations: 1.037 MB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1692, allocations: 4 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1696, allocations: 87.69 kB / 0.5553 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.17, allocations: 123.5 kB / 0.5555 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1703, allocations: 83.67 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1705, allocations: 119.7 kB / 0.5557 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1706, allocations: 16.25 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1708, allocations: 63.75 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1709, allocations: 79.67 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1709, allocations: 4 kB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.1711, allocations: 55.98 kB / 0.5559 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.1712, allocations: 27.91 kB / 0.5559 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.1712, allocations: 39.67 kB / 0.5559 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1715, allocations: 143.4 kB / 0.5561 GB, free: 6.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1715, allocations: 3.938 kB / 0.5561 GB, free: 6.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1715, allocations: 3.938 kB / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1715, allocations: 4 kB / 0.5561 GB, free: 6.387 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006684/0.1722, allocations: 446.4 kB / 0.5565 GB, free: 5.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1722, allocations: 12.03 kB / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.106e-05/0.1723, allocations: 192 / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1723, allocations: 38.73 kB / 0.5566 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1724, allocations: 20.78 kB / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1728, allocations: 209 kB / 0.5568 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1728, allocations: 8.125 kB / 0.5568 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1728, allocations: 8 kB / 0.5568 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.173, allocations: 65.59 kB / 0.5569 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.173, allocations: 0 / 0.5569 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.173, allocations: 0 / 0.5569 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.173, allocations: 4 kB / 0.5569 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.243e-05/0.1731, allocations: 23.97 kB / 0.5569 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.1735, allocations: 300.8 kB / 0.5572 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1738, allocations: 62.48 kB / 0.5572 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.1738, allocations: 16.98 kB / 0.5572 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1738, allocations: 4 kB / 0.5572 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.174, allocations: 71.38 kB / 0.5573 GB, free: 4.945 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.174, allocations: 0 / 0.5573 GB, free: 4.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008247/0.1748, allocations: 261.1 kB / 0.5576 GB, free: 4.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.1749, allocations: 51.41 kB / 0.5576 GB, free: 4.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1751, allocations: 238.1 kB / 0.5578 GB, free: 4.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1751, allocations: 29.64 kB / 0.5579 GB, free: 4.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.1752, allocations: 116.1 kB / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.1753, allocations: 31.73 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.1753, allocations: 33.64 kB / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1755, allocations: 326.8 kB / 0.5584 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.1756, allocations: 31.98 kB / 0.5584 GB, free: 3.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.1757, allocations: 45.7 kB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1758, allocations: 73.7 kB / 0.5585 GB, free: 3.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1758, allocations: 0 / 0.5585 GB, free: 3.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002501/0.1761, allocations: 129.5 kB / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1761, allocations: 8.031 kB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1761, allocations: 0 / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1761, allocations: 3.938 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.1762, allocations: 23.94 kB / 0.5587 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1762, allocations: 7.922 kB / 0.5587 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.362e-05/0.1763, allocations: 8 kB / 0.5587 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1763, allocations: 0 / 0.5587 GB, free: 3.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001289/0.1764, allocations: 137.1 kB / 0.5588 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1764, allocations: 15.84 kB / 0.5588 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.1765, allocations: 26.11 kB / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1765, allocations: 3.938 kB / 0.5588 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1765, allocations: 4 kB / 0.5588 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1765, allocations: 3.984 kB / 0.5589 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.1772, allocations: 452 kB / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1772, allocations: 4 kB / 0.5593 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.1773, allocations: 16 kB / 0.5593 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1773, allocations: 4.062 kB / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1773, allocations: 4 kB / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1773, allocations: 0 / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1773, allocations: 3.938 kB / 0.5593 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.1777, allocations: 233 kB / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.1778, allocations: 93.02 kB / 0.5596 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1778, allocations: 12 kB / 0.5596 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.1779, allocations: 7.984 kB / 0.5596 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1779, allocations: 4 kB / 0.5596 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1779, allocations: 11.98 kB / 0.5597 GB, free: 2.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1781, allocations: 168.4 kB / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1781, allocations: 0 / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1784, allocations: 35.86 kB / 0.5599 GB, free: 2.156 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003073/0.1815, allocations: 1.172 MB / 0.561 GB, free: 1.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1818, allocations: 79.84 kB / 0.5611 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1818, allocations: 64 / 0.5611 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1819, allocations: 39.92 kB / 0.5611 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.1825, allocations: 39.08 kB / 0.5612 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.1856, allocations: 1.869 MB / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.1862, allocations: 0.7158 MB / 0.5637 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.596e-05/0.1863, allocations: 20.62 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1864, allocations: 43.41 kB / 0.5637 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1864, allocations: 4 kB / 0.5637 GB, free: 14.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.2108, allocations: 4.013 MB / 0.5677 GB, free: 10.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.586, allocations: 16 kB / 0.5677 GB, free: 10.28 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.9252394560026]