Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.001028/0.001028, 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.001063/0.001063, 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.9207/0.9207, allocations: 158.6 MB / 186 MB, free: 2.766 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.1448/0.1448, 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.617e-05, allocations: 2.312 kB / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003475/0.003501, allocations: 1.774 MB / 301 MB, free: 296 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1686/0.1721, allocations: 1.529 MB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.1722, allocations: 1.125 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1724, allocations: 40.31 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1727, allocations: 60.17 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1729, allocations: 87.97 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1731, allocations: 94 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.1737, allocations: 13.66 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1738, allocations: 50.86 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.174, allocations: 30.17 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.174, allocations: 7.281 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1742, allocations: 60.36 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.1742, allocations: 21.89 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.1743, allocations: 19.5 kB / 303 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1745, allocations: 112.6 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1745, allocations: 8.625 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1745, allocations: 1.969 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1745, allocations: 0 / 303.1 MB, free: 19.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003898/0.1749, allocations: 302.2 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1749, allocations: 9.875 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.175, allocations: 8.094 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1752, allocations: 139.1 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1752, allocations: 1.5 kB / 303.5 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1752, allocations: 8.766 kB / 303.5 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1753, allocations: 105.9 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1754, allocations: 7.828 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1754, allocations: 0.5938 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1754, allocations: 1.859 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.1754, allocations: 13.77 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.1756, allocations: 161 kB / 303.8 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.998e-05/0.1757, allocations: 94.2 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.1758, allocations: 11.75 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.1758, allocations: 2.594 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.1759, allocations: 65.47 kB / 304 MB, free: 18.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.1759, allocations: 0.6562 kB / 304 MB, free: 18.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003711/0.1762, allocations: 116.5 kB / 304.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.1763, allocations: 83.73 kB / 304.2 MB, free: 18.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1764, allocations: 152.8 kB / 304.3 MB, free: 17.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1764, allocations: 27.08 kB / 304.4 MB, free: 17.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.1764, allocations: 90.7 kB / 304.5 MB, free: 17.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1765, allocations: 32.19 kB / 304.5 MB, free: 17.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1765, allocations: 25.2 kB / 304.5 MB, free: 17.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.1765, allocations: 321.7 kB / 304.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.1766, allocations: 12.86 kB / 304.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.1766, allocations: 58.8 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.1767, allocations: 41.11 kB / 304.9 MB, free: 17.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1767, allocations: 0.5625 kB / 304.9 MB, free: 17.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001203/0.1768, allocations: 80.89 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1768, allocations: 4.75 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1768, allocations: 1.156 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1768, allocations: 1.094 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.1769, allocations: 16.2 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1769, allocations: 0 / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.177, allocations: 8.969 kB / 305.1 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.177, allocations: 5.312 kB / 305.1 MB, free: 17.38 MB / 282.7 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 6.29e-05/0.177, allocations: 124.1 kB / 305.2 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.1771, allocations: 11.56 kB / 305.2 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.1772, allocations: 71.22 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1772, allocations: 5.031 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1772, allocations: 0.5625 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1772, allocations: 1.562 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.1775, allocations: 294.9 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1775, allocations: 1.703 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.1776, allocations: 9.953 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1776, allocations: 1.781 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1776, allocations: 5.625 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1776, allocations: 4.688 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1776, allocations: 1.125 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.1777, allocations: 217.4 kB / 305.8 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.1777, allocations: 8.469 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1777, allocations: 6.094 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.1778, allocations: 3.125 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1779, allocations: 10.31 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1779, allocations: 7.203 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.1779, allocations: 39.62 kB / 305.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1779, allocations: 0 / 305.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.1782, allocations: 31.45 kB / 305.9 MB, free: 16.75 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: 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 (9): * Single equations (assignments): 7 * 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.001843/0.1801, allocations: 0.6327 MB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1802, allocations: 39.33 kB / 306.6 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1802, allocations: 1.219 kB / 306.6 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.1803, allocations: 33.8 kB / 306.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1805, allocations: 33.14 kB / 306.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1809, allocations: 193.7 kB / 306.8 MB, free: 16.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.1809, allocations: 64.47 kB / 306.9 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.181, allocations: 12.38 kB / 306.9 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1811, allocations: 84.7 kB / 307 MB, free: 16.05 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1811, allocations: 0 / 307 MB, free: 16.05 MB / 282.7 MB Notification: Performance of Templates: time 0.006129/0.1872, allocations: 2.3 MB / 309.3 MB, free: 15.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.0857691462151706]