Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001316/0.001316, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001297/0.001297, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.571/1.571, 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.2572/0.2572, allocations: 46.92 MB / 357.1 MB, free: 10.33 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.91 kB / 0.4915 GB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1657, allocations: 65.98 MB / 0.5559 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004105/0.1698, allocations: 2.294 MB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1723, allocations: 1.324 MB / 0.5595 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1724, allocations: 11.88 kB / 0.5595 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.1729, allocations: 119.4 kB / 0.5596 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005959/0.1735, allocations: 254.8 kB / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1739, allocations: 183.5 kB / 0.56 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.1745, allocations: 462.6 kB / 0.5605 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1747, allocations: 49.06 kB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.1751, allocations: 315 kB / 0.5608 GB, free: 268 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1753, allocations: 171.1 kB / 0.561 GB, free: 96 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.1754, allocations: 16 kB / 0.561 GB, free: 80 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.1755, allocations: 67.98 kB / 0.5611 GB, free: 12 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.1757, allocations: 127.6 kB / 0.5612 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.1759, allocations: 190.5 kB / 0.5614 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.1765, allocations: 445.6 kB / 0.5618 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1765, allocations: 4 kB / 0.5618 GB, free: 15.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1765, allocations: 0 / 0.5618 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1765, allocations: 0 / 0.5618 GB, free: 15.25 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.001265/0.1778, allocations: 0.8397 MB / 0.5626 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1778, allocations: 9.109 kB / 0.5626 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.178, allocations: 64.52 kB / 0.5627 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/0.1786, allocations: 429 kB / 0.5631 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1786, allocations: 8.375 kB / 0.5631 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.1787, allocations: 24.08 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.1791, allocations: 196.9 kB / 0.5633 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1791, allocations: 4 kB / 0.5633 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1792, allocations: 4 kB / 0.5633 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1792, allocations: 4 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.1794, allocations: 95.86 kB / 0.5634 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/0.1804, allocations: 0.7978 MB / 0.5642 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.1811, allocations: 238.5 kB / 0.5644 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1813, allocations: 83.45 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.1813, allocations: 19.92 kB / 0.5645 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/0.1817, allocations: 202.6 kB / 0.5647 GB, free: 12.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.1817, allocations: 3.938 kB / 0.5647 GB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002676/0.1844, allocations: 1.136 MB / 0.5658 GB, free: 10.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/0.1845, allocations: 140.5 kB / 0.5659 GB, free: 10.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/0.1854, allocations: 0.7969 MB / 0.5667 GB, free: 9.895 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.1855, allocations: 41.7 kB / 0.5668 GB, free: 9.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1857, allocations: 241 kB / 0.567 GB, free: 9.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.1858, allocations: 142.8 kB / 0.5671 GB, free: 9.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.186, allocations: 82.08 kB / 0.5672 GB, free: 9.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1861, allocations: 374.8 kB / 0.5676 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.1864, allocations: 112.8 kB / 0.5677 GB, free: 8.895 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1867, allocations: 187.2 kB / 0.5679 GB, free: 8.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.1873, allocations: 318.9 kB / 0.5682 GB, free: 8.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1873, allocations: 4 kB / 0.5682 GB, free: 8.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007761/0.1881, allocations: 440.9 kB / 0.5686 GB, free: 7.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1881, allocations: 5.875 kB / 0.5686 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1881, allocations: 4 kB / 0.5686 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1881, allocations: 4 kB / 0.5686 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.1884, allocations: 92.02 kB / 0.5687 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1884, allocations: 7.938 kB / 0.5687 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1886, allocations: 15.94 kB / 0.5687 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.1886, allocations: 19.98 kB / 0.5687 GB, free: 7.766 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.0002697/0.1889, allocations: 230.2 kB / 0.5689 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.189, allocations: 71.53 kB / 0.569 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.1891, allocations: 76.92 kB / 0.5691 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1891, allocations: 4 kB / 0.5691 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.1892, allocations: 11.94 kB / 0.5691 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.1892, allocations: 7.922 kB / 0.5691 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.191, allocations: 1.314 MB / 0.5704 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.191, allocations: 4 kB / 0.5704 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1912, allocations: 55.92 kB / 0.5705 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1912, allocations: 8 kB / 0.5705 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.1912, allocations: 15.98 kB / 0.5705 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1912, allocations: 4 kB / 0.5705 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.1912, allocations: 4 kB / 0.5705 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1922, allocations: 0.7968 MB / 0.5713 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.1924, allocations: 176.6 kB / 0.5714 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.1925, allocations: 12 kB / 0.5714 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.1928, allocations: 19.98 kB / 0.5715 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1929, allocations: 47.83 kB / 0.5715 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.1929, allocations: 20 kB / 0.5715 GB, free: 4.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007157/0.1937, allocations: 0.5849 MB / 0.5721 GB, free: 4.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1937, allocations: 0 / 0.5721 GB, free: 4.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.1942, allocations: 83.94 kB / 0.5722 GB, free: 4.078 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.002077/0.1963, allocations: 0.5378 MB / 0.5727 GB, free: 3.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007505/0.197, allocations: 295.6 kB / 0.573 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.197, allocations: 0 / 0.573 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.1974, allocations: 141.1 kB / 0.5731 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.1984, allocations: 140.8 kB / 0.5733 GB, free: 3.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.2002, allocations: 1.077 MB / 0.5743 GB, free: 2.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.2009, allocations: 0.8821 MB / 0.5752 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.2011, allocations: 83.28 kB / 0.5752 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.2012, allocations: 55.42 kB / 0.5753 GB, free: 1.012 MB / 430.1 MB Notification: Performance of SimCode: time 1.643e-06/0.2012, allocations: 0 / 0.5753 GB, free: 1.012 MB / 430.1 MB Notification: Performance of Templates: time 0.013/0.2142, allocations: 5.497 MB / 0.5807 GB, free: 11.56 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: 5.851427402347326]