Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.000802/0.000802, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008488/0.0008488, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8767/0.8767, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2321/0.2321, allocations: 34.25 MB / 294.9 MB, free: 0.6836 MB / 266.7 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.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.484e-05, allocations: 2.281 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.1659/0.1659, allocations: 2.239 MB / 444.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1678, allocations: 1.354 MB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.168, allocations: 10.78 kB / 445.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.1685, allocations: 287.7 kB / 446.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005494/0.169, allocations: 348.3 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.1694, allocations: 225.2 kB / 446.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.1698, allocations: 0.5709 MB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.17, allocations: 31.16 kB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.1703, allocations: 305.6 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1706, allocations: 255.6 kB / 447.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1706, allocations: 22.25 kB / 447.9 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1707, allocations: 58.94 kB / 447.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.1708, allocations: 124.9 kB / 448.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.1709, allocations: 98.73 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1712, allocations: 417.2 kB / 448.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1712, allocations: 0 / 448.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.471e-06/0.1712, allocations: 4 kB / 448.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1712, allocations: 0 / 448.6 MB, free: 41.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007664/0.172, allocations: 0.7295 MB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.172, allocations: 8.312 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.1721, allocations: 47.64 kB / 449.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.1721, allocations: 61.47 kB / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.1726, allocations: 354.2 kB / 449.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1726, allocations: 10.19 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.1727, allocations: 18.88 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.173, allocations: 220.3 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.173, allocations: 0 / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.173, allocations: 6.312 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.173, allocations: 2.906 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1731, allocations: 111 kB / 450.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.1737, allocations: 0.8235 MB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.1741, allocations: 282.3 kB / 451.2 MB, free: 39.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1742, allocations: 94.66 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1743, allocations: 6.812 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.1746, allocations: 229.8 kB / 451.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.1746, allocations: 0 / 451.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0013/0.1759, allocations: 1.077 MB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1759, allocations: 160.2 kB / 452.8 MB, free: 39.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1764, allocations: 0.6744 MB / 453.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1764, allocations: 39.52 kB / 453.5 MB, free: 38.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1765, allocations: 243.5 kB / 453.7 MB, free: 38.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.1766, allocations: 130.1 kB / 453.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.1766, allocations: 70.83 kB / 453.9 MB, free: 38.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.1767, allocations: 375.1 kB / 454.3 MB, free: 38.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1768, allocations: 108.3 kB / 454.4 MB, free: 38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.177, allocations: 189.2 kB / 454.6 MB, free: 37.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.1773, allocations: 318 kB / 454.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1773, allocations: 2.938 kB / 454.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003913/0.1777, allocations: 412.9 kB / 455.3 MB, free: 37.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1777, allocations: 12.56 kB / 455.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1777, allocations: 4 kB / 455.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1777, allocations: 8.781 kB / 455.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1779, allocations: 87.97 kB / 455.4 MB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1779, allocations: 5.844 kB / 455.4 MB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.178, allocations: 16.28 kB / 455.4 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.178, allocations: 18.75 kB / 455.4 MB, free: 37.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001533/0.1781, allocations: 210.4 kB / 455.6 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1782, allocations: 66.58 kB / 455.7 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.1787, allocations: 0.489 MB / 456.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1787, allocations: 5.469 kB / 456.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1787, allocations: 2.844 kB / 456.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1787, allocations: 0 / 456.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000942/0.1797, allocations: 1.283 MB / 457.5 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1797, allocations: 0 / 457.5 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.1798, allocations: 58.8 kB / 457.5 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1798, allocations: 6.438 kB / 457.6 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1798, allocations: 13.45 kB / 457.6 MB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1798, allocations: 3.281 kB / 457.6 MB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1798, allocations: 7.156 kB / 457.6 MB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.1803, allocations: 0.8521 MB / 458.4 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.1803, allocations: 54.22 kB / 458.5 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.1803, allocations: 21.61 kB / 458.5 MB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1805, allocations: 16.61 kB / 458.5 MB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.1806, allocations: 46.92 kB / 458.6 MB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.1806, allocations: 26.67 kB / 458.6 MB, free: 35.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.1809, allocations: 0.49 MB / 459.1 MB, free: 35.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1809, allocations: 0 / 459.1 MB, free: 35.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.1813, allocations: 90.69 kB / 459.2 MB, free: 35.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00134/0.1826, allocations: 1.822 MB / 461 MB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.183, allocations: 296.7 kB / 461.3 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.183, allocations: 3.938 kB / 461.3 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.1832, allocations: 153.3 kB / 461.4 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.1839, allocations: 152.7 kB / 461.6 MB, free: 33.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.1873, allocations: 4.6 MB / 466.2 MB, free: 31.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.1875, allocations: 262.2 kB / 466.4 MB, free: 31.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1877, allocations: 89.45 kB / 466.5 MB, free: 31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1879, allocations: 192 kB / 466.7 MB, free: 30.86 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1879, allocations: 0 / 466.7 MB, free: 30.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.2092, allocations: 12.3 MB / 479 MB, free: 28.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.257, allocations: 2.156 kB / 479 MB, free: 28.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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: 9.221627096645534]