Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001124/0.001124, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002723, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001026/0.001026, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002287, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8946/0.8946, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1689/1.064, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1399/0.1399, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03909/0.179, allocations: 12.29 MB / 265.9 MB, free: 7.828 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 4 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.805e-05, allocations: 10.25 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001893/0.001911, allocations: 1.77 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.002877, allocations: 0.7997 MB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.002951, allocations: 3.938 kB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.003196, allocations: 51.7 kB / 269.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003333, allocations: 55.69 kB / 270 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.00355, allocations: 91.62 kB / 270.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.003746, allocations: 91.72 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.003825, allocations: 4.234 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.003939, allocations: 83.75 kB / 270.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.00401, allocations: 19.92 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.004027, allocations: 4 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.004117, allocations: 51.91 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.004162, allocations: 19.92 kB / 270.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.004194, allocations: 11.94 kB / 270.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004352, allocations: 95.62 kB / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.886e-05/0.004371, allocations: 3.984 kB / 270.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004372, allocations: 0 / 270.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.004388, allocations: 0 / 270.4 MB, free: 3.266 MB / 266.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.000429/0.004817, allocations: 331.8 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.004848, allocations: 8.031 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.004881, allocations: 8.938 kB / 270.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005032, allocations: 150.3 kB / 270.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.005046, allocations: 384 / 270.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.005063, allocations: 4.375 kB / 270.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005172, allocations: 65.75 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.005182, allocations: 3.938 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.005188, allocations: 0 / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005192, allocations: 4 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.005226, allocations: 7.938 kB / 271 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.005435, allocations: 173.9 kB / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.202e-05/0.005527, allocations: 93.23 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.005546, allocations: 12.92 kB / 271.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.00556, allocations: 7.984 kB / 271.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.005693, allocations: 66.09 kB / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.005694, allocations: 0 / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002798/0.005974, allocations: 113.5 kB / 271.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.006003, allocations: 55.41 kB / 271.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.006099, allocations: 173 kB / 271.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.006113, allocations: 29.7 kB / 271.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.006144, allocations: 96.11 kB / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.006175, allocations: 23.78 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.006224, allocations: 25.7 kB / 271.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.006314, allocations: 326.8 kB / 272.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.00633, allocations: 6.828 kB / 272.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.006352, allocations: 25.7 kB / 272.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.006397, allocations: 52.52 kB / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006399, allocations: 0 / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.188e-05/0.006481, allocations: 72.42 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.006493, allocations: 8.031 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006498, allocations: 0 / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.006508, allocations: 0 / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.006577, allocations: 23.92 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.006581, allocations: 0 / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.006609, allocations: 8 kB / 272.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.006613, allocations: 0 / 272.4 MB, free: 1.148 MB / 266.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.199e-05/0.006675, allocations: 116.7 kB / 272.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.006688, allocations: 19.92 kB / 272.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.006781, allocations: 71.08 kB / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006783, allocations: 4 kB / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.006784, allocations: 0 / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.006789, allocations: 3.984 kB / 272.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.006993, allocations: 295.4 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006995, allocations: 0 / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.007023, allocations: 12 kB / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.007033, allocations: 3.953 kB / 272.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.007036, allocations: 7.984 kB / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.007041, allocations: 3.938 kB / 272.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.007044, allocations: 0 / 272.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.007046, allocations: 8.031 kB / 272.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.00716, allocations: 219 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.007175, allocations: 384 / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.007213, allocations: 7.984 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.007239, allocations: 8 kB / 273.1 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.007251, allocations: 7.984 kB / 273.2 MB, free: 324 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.853e-05/0.00729, allocations: 48.36 kB / 273.2 MB, free: 272 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00729, allocations: 3.938 kB / 273.2 MB, free: 268 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.007432, allocations: 27.92 kB / 273.2 MB, free: 240 kB / 266.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.001278/0.00871, allocations: 0.6361 MB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.008809, allocations: 44.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.008818, allocations: 4 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.008847, allocations: 28.89 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.00905, allocations: 47.72 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.009577, allocations: 226.2 kB / 274.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.495e-05/0.009622, allocations: 67.34 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.009662, allocations: 12.48 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.009729, allocations: 67.36 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00973, allocations: 64 / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Templates: time 0.003945/0.01367, allocations: 2.041 MB / 276.4 MB, free: 13 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.7312817331403494]