Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.00197/0.00197, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002338/0.002338, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.587/1.587, 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.2544/0.2544, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 67.91 kB / 0.4915 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1671, allocations: 65.99 MB / 0.5559 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003977/0.1711, allocations: 1.745 MB / 0.5576 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.1742, allocations: 1.641 MB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1743, allocations: 4 kB / 0.5592 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1746, allocations: 31.77 kB / 0.5593 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.1751, allocations: 103.5 kB / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1754, allocations: 83.67 kB / 0.5595 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1757, allocations: 111.7 kB / 0.5596 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1758, allocations: 8 kB / 0.5596 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.176, allocations: 51.7 kB / 0.5596 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1762, allocations: 39.84 kB / 0.5597 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1762, allocations: 8 kB / 0.5597 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.1764, allocations: 103.9 kB / 0.5598 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.1765, allocations: 27.84 kB / 0.5598 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.1766, allocations: 31.75 kB / 0.5598 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.177, allocations: 171.4 kB / 0.56 GB, free: 1.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.177, allocations: 0 / 0.56 GB, free: 1.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.177, allocations: 4 kB / 0.56 GB, free: 1.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.177, allocations: 4 kB / 0.56 GB, free: 1.129 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009466/0.178, allocations: 426.6 kB / 0.5604 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.178, allocations: 12.03 kB / 0.5604 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.319e-05/0.1781, allocations: 20.72 kB / 0.5604 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.1786, allocations: 208.7 kB / 0.5606 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1786, allocations: 7.938 kB / 0.5606 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1787, allocations: 4 kB / 0.5606 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1789, allocations: 67.39 kB / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1789, allocations: 0 / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1789, allocations: 4 kB / 0.5607 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1789, allocations: 3.984 kB / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.179, allocations: 19.92 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.1796, allocations: 292.9 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1798, allocations: 54.67 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1798, allocations: 16.86 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1799, allocations: 0 / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.18, allocations: 75.33 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.18, allocations: 0 / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006957/0.1807, allocations: 177.3 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.1808, allocations: 88.98 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1811, allocations: 165.3 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1811, allocations: 29.7 kB / 0.5616 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.1812, allocations: 100.1 kB / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1812, allocations: 27.75 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.1813, allocations: 21.7 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1814, allocations: 330.8 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.1815, allocations: 16 kB / 0.5621 GB, free: 14.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/0.1816, allocations: 50.53 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1817, allocations: 57.66 kB / 0.5622 GB, free: 14.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1817, allocations: 0 / 0.5622 GB, free: 14.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002218/0.182, allocations: 93.62 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.182, allocations: 12.06 kB / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.182, allocations: 3.938 kB / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.182, allocations: 0 / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1821, allocations: 12 kB / 0.5623 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1821, allocations: 8.094 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.1822, allocations: 7.984 kB / 0.5623 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1822, allocations: 11.92 kB / 0.5623 GB, free: 14.5 MB / 430.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 (10): * Single equations (assignments): 10 * 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.0001231/0.1823, allocations: 120 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1824, allocations: 7.953 kB / 0.5624 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1824, allocations: 20.7 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1824, allocations: 0 / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1824, allocations: 3.938 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1824, allocations: 0 / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.183, allocations: 403.3 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.183, allocations: 0 / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.1831, allocations: 15.88 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1831, allocations: 0 / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1831, allocations: 8.016 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1831, allocations: 4 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1831, allocations: 0 / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1834, allocations: 196.3 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.1834, allocations: 85 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1835, allocations: 4.375 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.1836, allocations: 15.98 kB / 0.5632 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1836, allocations: 4.188 kB / 0.5632 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1836, allocations: 4 kB / 0.5632 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1838, allocations: 127.2 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1838, allocations: 7.938 kB / 0.5633 GB, free: 13.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1841, allocations: 43.86 kB / 0.5633 GB, free: 13.35 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: 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 (8): * Single equations (assignments): 6 * 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.002223/0.1863, allocations: 0.5473 MB / 0.5639 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1866, allocations: 55.91 kB / 0.5639 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1866, allocations: 0 / 0.5639 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.1866, allocations: 27.98 kB / 0.5639 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.187, allocations: 38.31 kB / 0.564 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.1876, allocations: 206.9 kB / 0.5642 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.188, allocations: 0.6963 MB / 0.5649 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.383e-05/0.188, allocations: 21.19 kB / 0.5649 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1881, allocations: 19.42 kB / 0.5649 GB, free: 11.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1881, allocations: 4 kB / 0.5649 GB, free: 11.89 MB / 430.1 MB Notification: Performance of Templates: time 0.006894/0.195, allocations: 2.359 MB / 0.5672 GB, free: 9.547 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.544275414198637]