Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001572/0.001572, 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.00162/0.00162, 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.645/1.645, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2526/0.2526, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 71.91 kB / 0.4915 GB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1591, allocations: 65.99 MB / 0.5559 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003419/0.1626, allocations: 1.731 MB / 0.5576 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1645, allocations: 1.038 MB / 0.5586 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1646, allocations: 3.938 kB / 0.5586 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1649, allocations: 51.75 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1652, allocations: 103.6 kB / 0.5588 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.1654, allocations: 75.67 kB / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1656, allocations: 107.7 kB / 0.559 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1657, allocations: 8 kB / 0.559 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.1658, allocations: 51.72 kB / 0.559 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.1659, allocations: 31.84 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1659, allocations: 4 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.166, allocations: 43.98 kB / 0.5591 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.1661, allocations: 35.83 kB / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.1661, allocations: 43.69 kB / 0.5592 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1664, allocations: 143.3 kB / 0.5593 GB, free: 1.723 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1664, allocations: 0 / 0.5593 GB, free: 1.723 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1664, allocations: 0 / 0.5593 GB, free: 1.723 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1664, allocations: 0 / 0.5593 GB, free: 1.723 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.0006429/0.167, allocations: 458.4 kB / 0.5598 GB, free: 1.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1671, allocations: 8.031 kB / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.1671, allocations: 16.84 kB / 0.5598 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.1674, allocations: 231.8 kB / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1674, allocations: 384 / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1675, allocations: 16.06 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1676, allocations: 53.61 kB / 0.5601 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1676, allocations: 3.938 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1676, allocations: 4 kB / 0.5601 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1677, allocations: 0 / 0.5601 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.1677, allocations: 19.98 kB / 0.5601 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1682, allocations: 300.9 kB / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1683, allocations: 54.61 kB / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.1684, allocations: 16.86 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1684, allocations: 0 / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.1686, allocations: 75.39 kB / 0.5605 GB, free: 332 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1686, allocations: 0 / 0.5605 GB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005776/0.1691, allocations: 197.2 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1692, allocations: 51.41 kB / 0.5608 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.1695, allocations: 280.2 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1695, allocations: 33.7 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.1696, allocations: 112.1 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1697, allocations: 23.84 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.1697, allocations: 25.72 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1699, allocations: 334.8 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.1699, allocations: 15.98 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.17, allocations: 41.64 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1701, allocations: 57.7 kB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1701, allocations: 0 / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002134/0.1704, allocations: 117.5 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1704, allocations: 4 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1704, allocations: 4 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1704, allocations: 0 / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1705, allocations: 15.98 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1705, allocations: 160 / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.1705, allocations: 11.94 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1706, allocations: 4 kB / 0.5618 GB, free: 14.95 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.0001292/0.1707, allocations: 142.5 kB / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.1707, allocations: 23.89 kB / 0.5619 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.1708, allocations: 21.39 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1708, allocations: 0 / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1708, allocations: 192 / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1708, allocations: 3.938 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.1713, allocations: 415.2 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1713, allocations: 0 / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.1713, allocations: 8 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1713, allocations: 4.031 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1713, allocations: 11.94 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1713, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1713, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1716, allocations: 204.2 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.1717, allocations: 93 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1717, allocations: 12.31 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1718, allocations: 4 kB / 0.5627 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.1718, allocations: 7.984 kB / 0.5627 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1718, allocations: 8 kB / 0.5627 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.172, allocations: 216.6 kB / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.172, allocations: 0 / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1723, allocations: 31.89 kB / 0.5629 GB, free: 13.66 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.001744/0.1741, allocations: 461.3 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1742, allocations: 59.91 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1742, allocations: 0 / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.1743, allocations: 19.98 kB / 0.5635 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1747, allocations: 36.05 kB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.1753, allocations: 299.6 kB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1756, allocations: 0.7274 MB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.1757, allocations: 21.17 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1757, allocations: 15.44 kB / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1757, allocations: 0 / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of Templates: time 0.005153/0.1809, allocations: 1.792 MB / 0.5663 GB, free: 10.39 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.38058041408658]