Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0008876/0.0008876, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005133/0.005133, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8572/0.8572, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 440.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.853e-05, allocations: 3.969 kB / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002277/0.002306, allocations: 1.731 MB / 442.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003382, allocations: 0.9703 MB / 443.6 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.003461, allocations: 0 / 443.6 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.003747, allocations: 95.61 kB / 443.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.004001, allocations: 123.4 kB / 443.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.00413, allocations: 87.59 kB / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.004285, allocations: 127.5 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.004377, allocations: 15.97 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.004455, allocations: 59.83 kB / 444.1 MB, free: 416 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.00455, allocations: 67.8 kB / 444.2 MB, free: 348 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.004564, allocations: 4 kB / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.004651, allocations: 71.83 kB / 444.3 MB, free: 272 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.004701, allocations: 23.92 kB / 444.3 MB, free: 248 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.004737, allocations: 27.86 kB / 444.3 MB, free: 220 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.004904, allocations: 139.6 kB / 444.5 MB, free: 80 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004906, allocations: 0 / 444.5 MB, free: 80 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004907, allocations: 0 / 444.5 MB, free: 80 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004911, allocations: 0 / 444.5 MB, free: 80 kB / 410.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.1602/0.1651, allocations: 363.7 kB / 444.8 MB, free: 46.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1651, allocations: 8.844 kB / 444.8 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1652, allocations: 17.59 kB / 444.9 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.1654, allocations: 160.1 kB / 445 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1654, allocations: 6.531 kB / 445 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1654, allocations: 6.25 kB / 445 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1655, allocations: 60.61 kB / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1656, allocations: 0 / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1656, allocations: 3.406 kB / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1656, allocations: 0 / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.1656, allocations: 30.56 kB / 445.1 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.1659, allocations: 252.7 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1661, allocations: 58.33 kB / 445.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.1661, allocations: 25.22 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1661, allocations: 1.312 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.986e-05/0.1662, allocations: 77.75 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1662, allocations: 1.969 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004967/0.1667, allocations: 257.4 kB / 445.8 MB, free: 46.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.1667, allocations: 54.09 kB / 445.8 MB, free: 46.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1669, allocations: 234.6 kB / 446.1 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.1669, allocations: 26.42 kB / 446.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.1669, allocations: 112.1 kB / 446.2 MB, free: 45.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1669, allocations: 33.14 kB / 446.2 MB, free: 45.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.167, allocations: 35.17 kB / 446.3 MB, free: 45.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.062e-05/0.167, allocations: 324.6 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.167, allocations: 35.3 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.1671, allocations: 44.78 kB / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.242e-05/0.1671, allocations: 77.97 kB / 446.7 MB, free: 45.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1671, allocations: 2.781 kB / 446.7 MB, free: 45.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001159/0.1673, allocations: 140 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1673, allocations: 5.562 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1673, allocations: 3.281 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1673, allocations: 6.375 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.1673, allocations: 19.27 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1673, allocations: 2.5 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.1674, allocations: 6.75 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1674, allocations: 6.812 kB / 446.9 MB, free: 45.41 MB / 410.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 (13): * Single equations (assignments): 13 * 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.572e-05/0.1674, allocations: 130 kB / 447 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1674, allocations: 27.08 kB / 447.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.1676, allocations: 154.4 kB / 447.2 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1676, allocations: 5.766 kB / 447.2 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1676, allocations: 3.141 kB / 447.2 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1676, allocations: 0 / 447.2 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1679, allocations: 403.5 kB / 447.6 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1679, allocations: 1.812 kB / 447.6 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.1679, allocations: 20.91 kB / 447.6 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1679, allocations: 2.594 kB / 447.6 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1679, allocations: 6.281 kB / 447.7 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1679, allocations: 0 / 447.7 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1679, allocations: 0 / 447.7 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1681, allocations: 255.6 kB / 447.9 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.1681, allocations: 11.09 kB / 447.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1681, allocations: 2.5 kB / 447.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.1681, allocations: 6.625 kB / 447.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1682, allocations: 11.81 kB / 447.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1682, allocations: 10.31 kB / 447.9 MB, free: 44.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.1682, allocations: 178.7 kB / 448.1 MB, free: 44.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1682, allocations: 0 / 448.1 MB, free: 44.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.1684, allocations: 31.78 kB / 448.2 MB, free: 44.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0008237/0.1692, allocations: 0.557 MB / 448.7 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.1694, allocations: 76.47 kB / 448.8 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1694, allocations: 3 kB / 448.8 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.1694, allocations: 42.11 kB / 448.8 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1696, allocations: 34.19 kB / 448.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.17, allocations: 322.4 kB / 449.2 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.17, allocations: 99.91 kB / 449.3 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.1701, allocations: 21.38 kB / 449.3 MB, free: 44.04 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1701, allocations: 0 / 449.3 MB, free: 44.04 MB / 410.7 MB Notification: Performance of Templates: time 0.00245/0.1725, allocations: 2.342 MB / 451.6 MB, free: 43.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.140761965885758]