Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.0009299/0.0009299, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009925/0.0009925, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9865/0.9865, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1388/0.1388, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.502e-05, allocations: 2.312 kB / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002727/0.002762, allocations: 1.844 MB / 301 MB, free: 228 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1563/0.1591, allocations: 1.606 MB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1592, allocations: 1.344 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1595, allocations: 56.84 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.1598, allocations: 94.62 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1602, allocations: 140.2 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1604, allocations: 187.8 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.1605, allocations: 7.922 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1607, allocations: 100.2 kB / 303.2 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1608, allocations: 57.08 kB / 303.3 MB, free: 19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1608, allocations: 11.34 kB / 303.3 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.161, allocations: 62.88 kB / 303.3 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.1611, allocations: 38.89 kB / 303.4 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.1611, allocations: 33.28 kB / 303.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1614, allocations: 148.1 kB / 303.6 MB, free: 18.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.1614, allocations: 0 / 303.6 MB, free: 18.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1614, allocations: 0 / 303.6 MB, free: 18.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1614, allocations: 1.141 kB / 303.6 MB, free: 18.89 MB / 282.7 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.0003976/0.1618, allocations: 372.9 kB / 303.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1619, allocations: 9.25 kB / 303.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.1619, allocations: 18.27 kB / 303.9 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1621, allocations: 168.5 kB / 304.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1621, allocations: 3.219 kB / 304.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1622, allocations: 4.953 kB / 304.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1623, allocations: 153.1 kB / 304.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1623, allocations: 4.938 kB / 304.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1623, allocations: 10.62 kB / 304.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1624, allocations: 1.188 kB / 304.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.1624, allocations: 19.06 kB / 304.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1625, allocations: 87.12 kB / 304.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1627, allocations: 83.72 kB / 304.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.1627, allocations: 26.58 kB / 304.5 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1627, allocations: 2.031 kB / 304.5 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.1629, allocations: 100.5 kB / 304.6 MB, free: 17.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.534e-06/0.1629, allocations: 1.172 kB / 304.6 MB, free: 17.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001917/0.1631, allocations: 91.05 kB / 304.7 MB, free: 17.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.1631, allocations: 143.8 kB / 304.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1633, allocations: 196.4 kB / 305 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1633, allocations: 30.92 kB / 305 MB, free: 17.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.1633, allocations: 99.22 kB / 305.1 MB, free: 17.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1633, allocations: 35.91 kB / 305.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.1634, allocations: 25.69 kB / 305.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.1635, allocations: 333.2 kB / 305.5 MB, free: 17.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.1635, allocations: 15.8 kB / 305.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.1635, allocations: 108.3 kB / 305.7 MB, free: 17.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1636, allocations: 69.12 kB / 305.7 MB, free: 16.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1637, allocations: 0 / 305.7 MB, free: 16.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001602/0.1638, allocations: 91.52 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1638, allocations: 6.469 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1638, allocations: 5.984 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1639, allocations: 4.156 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1639, allocations: 25.39 kB / 305.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1639, allocations: 3.578 kB / 305.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.164, allocations: 14.14 kB / 305.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.164, allocations: 3.531 kB / 305.9 MB, free: 16.91 MB / 282.7 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 7.571e-05/0.1641, allocations: 123.5 kB / 306 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1641, allocations: 14.38 kB / 306 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1643, allocations: 92.39 kB / 306.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1643, allocations: 2.281 kB / 306.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1643, allocations: 9.719 kB / 306.1 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1643, allocations: 0.7031 kB / 306.1 MB, free: 16.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1644, allocations: 103.5 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1644, allocations: 1.938 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.1644, allocations: 10.55 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1644, allocations: 0.5156 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1645, allocations: 8.391 kB / 306.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1645, allocations: 4.969 kB / 306.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1645, allocations: 4 kB / 306.2 MB, free: 16.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1646, allocations: 120.3 kB / 306.4 MB, free: 16.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.1646, allocations: 12.98 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1646, allocations: 8.25 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.1647, allocations: 4.922 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.1647, allocations: 14.11 kB / 306.4 MB, free: 16.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1648, allocations: 9.453 kB / 306.4 MB, free: 16.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.802e-05/0.1649, allocations: 68.2 kB / 306.5 MB, free: 16.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1649, allocations: 0 / 306.5 MB, free: 16.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.1651, allocations: 38.23 kB / 306.5 MB, free: 16.48 MB / 282.7 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.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001262/0.1664, allocations: 0.5619 MB / 307.1 MB, free: 16.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1665, allocations: 58.62 kB / 307.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.1665, allocations: 2.062 kB / 307.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.1666, allocations: 38.59 kB / 307.2 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1668, allocations: 61.58 kB / 307.2 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.1672, allocations: 249.7 kB / 307.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.1673, allocations: 75.22 kB / 307.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.763e-05/0.1674, allocations: 30.61 kB / 307.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1675, allocations: 94.05 kB / 307.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1675, allocations: 0 / 307.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of Templates: time 0.007454/0.1749, allocations: 3.182 MB / 310.8 MB, free: 15.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.085313162766397]