Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001388/0.001388, allocations: 124.5 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.001525/0.001525, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.618/1.618, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.2752/0.2752, allocations: 46.92 MB / 357.1 MB, free: 10.28 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 71.89 kB / 0.4915 GB, free: 7.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.165, allocations: 65.99 MB / 0.5559 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.005401/0.1704, allocations: 1.831 MB / 0.5577 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004026/0.1745, allocations: 1.719 MB / 0.5594 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1747, allocations: 3.938 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.1751, allocations: 51.69 kB / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007396/0.1759, allocations: 143.4 kB / 0.5596 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1763, allocations: 103.6 kB / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.1768, allocations: 207.3 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.227e-05/0.1768, allocations: 5.688 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.1771, allocations: 91.61 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.1774, allocations: 91.55 kB / 0.56 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1774, allocations: 15.98 kB / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.1777, allocations: 103.9 kB / 0.5602 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.246e-05/0.1778, allocations: 35.89 kB / 0.5602 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1779, allocations: 63.59 kB / 0.5603 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.1785, allocations: 231 kB / 0.5605 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1785, allocations: 0 / 0.5605 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1785, allocations: 0 / 0.5605 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.1785, allocations: 0 / 0.5605 GB, free: 0.5234 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.0009813/0.1795, allocations: 0.4982 MB / 0.561 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1795, allocations: 15.97 kB / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1796, allocations: 16.84 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.1801, allocations: 260.9 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1801, allocations: 4.375 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1801, allocations: 4.125 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.1804, allocations: 101.1 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1804, allocations: 0 / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1805, allocations: 0 / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.1805, allocations: 4 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1806, allocations: 35.91 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.181, allocations: 214.5 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.1813, allocations: 109.2 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1814, allocations: 37.64 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1815, allocations: 4 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.1817, allocations: 117 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1817, allocations: 0 / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006103/0.1824, allocations: 161.9 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.1825, allocations: 140.5 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1828, allocations: 240.1 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.1829, allocations: 29.7 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.183, allocations: 116.1 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.183, allocations: 31.8 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.1831, allocations: 25.72 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1833, allocations: 330.8 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.1834, allocations: 28.11 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1835, allocations: 73.14 kB / 0.563 GB, free: 13.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1837, allocations: 91.34 kB / 0.5631 GB, free: 13.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1837, allocations: 0 / 0.5631 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003215/0.1841, allocations: 133.5 kB / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1841, allocations: 8.094 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1841, allocations: 4 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1841, allocations: 0 / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.1843, allocations: 35.86 kB / 0.5632 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1843, allocations: 0 / 0.5632 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1844, allocations: 15.88 kB / 0.5632 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1844, allocations: 4 kB / 0.5632 GB, free: 13.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001436/0.1845, allocations: 135.9 kB / 0.5634 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.1846, allocations: 15.91 kB / 0.5634 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.1847, allocations: 28.98 kB / 0.5634 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1847, allocations: 0 / 0.5634 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1847, allocations: 4 kB / 0.5634 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1847, allocations: 0 / 0.5634 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1849, allocations: 229.4 kB / 0.5636 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1849, allocations: 4.125 kB / 0.5636 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.185, allocations: 12 kB / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.185, allocations: 0 / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.185, allocations: 4 kB / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.185, allocations: 0 / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.185, allocations: 3.984 kB / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.1853, allocations: 177.7 kB / 0.5638 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.1854, allocations: 96.95 kB / 0.5639 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.1855, allocations: 7.984 kB / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1855, allocations: 0 / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.1856, allocations: 11.98 kB / 0.5639 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.1856, allocations: 12 kB / 0.564 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.1858, allocations: 177.6 kB / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1858, allocations: 0 / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1862, allocations: 51.92 kB / 0.5642 GB, free: 12.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001873/0.188, allocations: 0.507 MB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.1883, allocations: 79.91 kB / 0.5648 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1883, allocations: 0 / 0.5648 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.1885, allocations: 32.05 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1889, allocations: 64.98 kB / 0.5648 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.1896, allocations: 283.7 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.19, allocations: 0.7203 MB / 0.5658 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1902, allocations: 33.53 kB / 0.5658 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.1902, allocations: 31.42 kB / 0.5659 GB, free: 10.71 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1902, allocations: 0 / 0.5659 GB, free: 10.71 MB / 430.1 MB Notification: Performance of Templates: time 0.008763/0.199, allocations: 3.14 MB / 0.5689 GB, free: 7.605 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.526573266834021]