Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.001183/0.001183, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002823, 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.001005/0.001005, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002316, 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 1/1, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2085/1.209, allocations: 49.51 MB / 220.5 MB, free: 5.266 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.172/0.172, allocations: 32.36 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02446/0.1965, 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.363e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002204/0.002227, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.003176, allocations: 0.8036 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.003242, allocations: 0 / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.003432, allocations: 51.7 kB / 269.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003567, allocations: 59.62 kB / 270 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.003733, allocations: 79.72 kB / 270.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.00387, allocations: 99.69 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.003949, allocations: 4.234 kB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.004062, allocations: 79.75 kB / 270.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.004135, allocations: 23.92 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004153, allocations: 4 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.004235, allocations: 47.92 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.004275, allocations: 11.94 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.004306, allocations: 15.94 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.00446, allocations: 103.5 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.641e-05/0.004476, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004477, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.004495, allocations: 0 / 270.4 MB, free: 3.277 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.0004658/0.004961, allocations: 327.9 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.004991, allocations: 8.031 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.005026, allocations: 16.92 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005181, allocations: 141.6 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.005198, allocations: 384 / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.005217, allocations: 8.375 kB / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.005329, allocations: 57.77 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.005341, allocations: 7.875 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.005348, allocations: 0 / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005353, allocations: 0 / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.005383, allocations: 15.98 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.005614, allocations: 169.9 kB / 271.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.00571, allocations: 93.28 kB / 271.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.005731, allocations: 12.92 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.005742, allocations: 0 / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.005847, allocations: 70.09 kB / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005848, allocations: 0 / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003214/0.006169, allocations: 113.5 kB / 271.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.006204, allocations: 51.41 kB / 271.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.006302, allocations: 172.2 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.006317, allocations: 29.7 kB / 271.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.006356, allocations: 100.1 kB / 271.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.00638, allocations: 19.86 kB / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.00642, allocations: 29.69 kB / 271.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.006508, allocations: 318.8 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.006524, allocations: 10.83 kB / 272.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.006548, allocations: 25.69 kB / 272.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.00659, allocations: 44.53 kB / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006591, allocations: 0 / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.156e-05/0.006662, allocations: 80.36 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.006674, allocations: 4.031 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.00668, allocations: 8 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.006689, allocations: 0 / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.006751, allocations: 15.98 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.006754, allocations: 4 kB / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.006781, allocations: 3.938 kB / 272.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.00679, allocations: 8 kB / 272.4 MB, free: 1.168 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.951e-05/0.00686, allocations: 112.7 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.006872, allocations: 11.92 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.006974, allocations: 78.38 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006976, allocations: 4 kB / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.006978, allocations: 4 kB / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006981, allocations: 0 / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.007181, allocations: 287.4 kB / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007182, allocations: 0 / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.007205, allocations: 12 kB / 272.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.007218, allocations: 15.89 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007219, allocations: 0 / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.007224, allocations: 3.938 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.007225, allocations: 4 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007226, allocations: 4.031 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.00733, allocations: 215 kB / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.007344, allocations: 384 / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.007379, allocations: 11.92 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.007403, allocations: 4 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.007417, allocations: 15.92 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.524e-05/0.007452, allocations: 40.53 kB / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007452, allocations: 0 / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.007586, allocations: 27.98 kB / 273.2 MB, free: 276 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.001226/0.008813, allocations: 0.6361 MB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.413e-05/0.008897, allocations: 44.78 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.008903, allocations: 0 / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.008932, allocations: 40.83 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.009096, allocations: 35.86 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.0095, allocations: 218.6 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.009539, allocations: 71.34 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.049e-05/0.009569, allocations: 12.48 kB / 274.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.00963, allocations: 67.36 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.00963, allocations: 0 / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.003243/0.01287, allocations: 2.021 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.9117146860808134]