Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.0009694/0.0009694, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009992/0.0009992, allocations: 169 kB / 24.14 MB, free: 360 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.8668/0.8668, allocations: 158.6 MB / 186 MB, free: 2.777 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.126/0.126, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.355e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.007053/0.007077, allocations: 1.931 MB / 301.1 MB, free: 196 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1642/0.1713, allocations: 0.8344 MB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1714, allocations: 3.5 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1717, allocations: 47.62 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1719, allocations: 64.95 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1722, allocations: 101.7 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1724, allocations: 140.4 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.1725, allocations: 23.44 kB / 302.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1726, allocations: 76.83 kB / 302.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.1727, allocations: 38.02 kB / 302.4 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1727, allocations: 7.781 kB / 302.4 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.1728, allocations: 45.3 kB / 302.4 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.1729, allocations: 24.31 kB / 302.5 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.1729, allocations: 31.61 kB / 302.5 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1731, allocations: 129.7 kB / 302.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1731, allocations: 0 / 302.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1731, allocations: 1.156 kB / 302.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1731, allocations: 0 / 302.6 MB, free: 19.06 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003896/0.1735, allocations: 379.2 kB / 303 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.1736, allocations: 8.438 kB / 303 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1736, allocations: 13.69 kB / 303 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1737, allocations: 165.3 kB / 303.2 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1738, allocations: 7.703 kB / 303.2 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1738, allocations: 8.375 kB / 303.2 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1739, allocations: 133.4 kB / 303.3 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1739, allocations: 8.531 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.1739, allocations: 4.906 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1739, allocations: 6.844 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.174, allocations: 20.8 kB / 303.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.1743, allocations: 375.2 kB / 303.7 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1744, allocations: 103.7 kB / 303.8 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.1744, allocations: 21.94 kB / 303.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1745, allocations: 1.906 kB / 303.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.098e-05/0.1745, allocations: 102.3 kB / 304 MB, free: 17.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.1745, allocations: 0 / 304 MB, free: 17.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001258/0.1747, allocations: 76.02 kB / 304 MB, free: 17.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.483e-05/0.1747, allocations: 52.53 kB / 304.1 MB, free: 17.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.1748, allocations: 183 kB / 304.3 MB, free: 17.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1748, allocations: 30.36 kB / 304.3 MB, free: 17.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.1748, allocations: 101 kB / 304.4 MB, free: 17.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1748, allocations: 33.12 kB / 304.4 MB, free: 17.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1749, allocations: 30.81 kB / 304.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.1749, allocations: 329.4 kB / 304.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.1749, allocations: 12.17 kB / 304.8 MB, free: 17.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.175, allocations: 44.72 kB / 304.8 MB, free: 17.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.175, allocations: 74.31 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.175, allocations: 1.219 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001005/0.1751, allocations: 89.84 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1751, allocations: 7.016 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1752, allocations: 1.156 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1752, allocations: 3.484 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.1752, allocations: 23.58 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.1752, allocations: 1.156 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.1753, allocations: 17.97 kB / 305 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1753, allocations: 4.922 kB / 305 MB, free: 17.15 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.261e-05/0.1753, allocations: 133.1 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.1753, allocations: 9.25 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1755, allocations: 79.5 kB / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1755, allocations: 1.578 kB / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1755, allocations: 0 / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1755, allocations: 1.844 kB / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.013e-05/0.1755, allocations: 94.27 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1755, allocations: 8.688 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.1756, allocations: 11.8 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1756, allocations: 1.5 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1756, allocations: 6.156 kB / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1756, allocations: 0.8906 kB / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1756, allocations: 0 / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1757, allocations: 120.9 kB / 305.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.1757, allocations: 23.92 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1758, allocations: 2.109 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.71e-05/0.1758, allocations: 7.578 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.1758, allocations: 7.688 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1758, allocations: 2.844 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.1759, allocations: 56.19 kB / 305.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1759, allocations: 32 / 305.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.176, allocations: 29.78 kB / 305.6 MB, free: 16.78 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000963/0.177, allocations: 0.5166 MB / 306.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.1771, allocations: 51.75 kB / 306.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.1771, allocations: 2.688 kB / 306.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.535e-05/0.1771, allocations: 26.27 kB / 306.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.1773, allocations: 43.59 kB / 306.3 MB, free: 16.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.1776, allocations: 259 kB / 306.5 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.1777, allocations: 68.77 kB / 306.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.893e-05/0.1777, allocations: 13.25 kB / 306.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.1778, allocations: 77.84 kB / 306.7 MB, free: 16.16 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1778, allocations: 0 / 306.7 MB, free: 16.16 MB / 282.7 MB Notification: Performance of Templates: time 0.00433/0.1821, allocations: 2.201 MB / 308.9 MB, free: 15.89 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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: 2.9399451739154756]