Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009022/0.0009022, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0009532/0.0009532, allocations: 171.9 kB / 24.92 MB, free: 8.688 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.9601/0.9601, allocations: 177.1 MB / 205.3 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2455/0.2455, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.81e-05, allocations: 3.188 kB / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00344/0.003468, allocations: 1.812 MB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.005035, allocations: 1.006 MB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.005114, allocations: 0 / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.005415, allocations: 43.7 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.00565, allocations: 91.53 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.005786, allocations: 91.53 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.005921, allocations: 95.7 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.006009, allocations: 7.984 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.006091, allocations: 59.77 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.006163, allocations: 31.91 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.006177, allocations: 4 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.973e-05/0.006257, allocations: 47.91 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.006297, allocations: 23.92 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.00633, allocations: 20.38 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.006487, allocations: 99.66 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006491, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006492, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.006495, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.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.0003501/0.006845, allocations: 321.5 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.00688, allocations: 16.03 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.006912, allocations: 8.922 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.007068, allocations: 150.6 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.007082, allocations: 384 / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.007098, allocations: 4.375 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.0072, allocations: 69.69 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00721, allocations: 3.938 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.007216, allocations: 0 / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007222, allocations: 4 kB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.007245, allocations: 7.938 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.007452, allocations: 178 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.095e-05/0.007533, allocations: 81.3 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.007551, allocations: 8.859 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.007561, allocations: 4 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/0.007649, allocations: 74.06 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.007651, allocations: 0 / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002756/0.007926, allocations: 113.5 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.007954, allocations: 59.39 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.008056, allocations: 180.2 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.008068, allocations: 29.7 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.008103, allocations: 104.1 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.008126, allocations: 23.78 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.008155, allocations: 21.7 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.008229, allocations: 326.8 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.008247, allocations: 10.83 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.008275, allocations: 21.7 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.008318, allocations: 44.45 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.008319, allocations: 0 / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.373e-05/0.008393, allocations: 76.44 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.008403, allocations: 4 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.008408, allocations: 3.984 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.00842, allocations: 4 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.008478, allocations: 19.92 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.008481, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.008507, allocations: 8 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.008513, allocations: 4 kB / 330.7 MB, free: 1.977 MB / 298.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 5.885e-05/0.008572, allocations: 116.7 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.008584, allocations: 15.97 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.008687, allocations: 79.06 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008689, allocations: 0 / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.00869, allocations: 0 / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008693, allocations: 3.938 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.008918, allocations: 299.6 kB / 331.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008919, allocations: 0 / 331.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.008948, allocations: 15.98 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00895, allocations: 0 / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.008956, allocations: 0 / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.008958, allocations: 4.031 kB / 331.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.00896, allocations: 4 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.009064, allocations: 219 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.009077, allocations: 15.89 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.009093, allocations: 0 / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.009134, allocations: 4.375 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.009165, allocations: 11.98 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.009185, allocations: 0 / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.009231, allocations: 60.69 kB / 331.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009231, allocations: 3.938 kB / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.009376, allocations: 19.94 kB / 331.6 MB, free: 1.047 MB / 298.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.001369/0.01074, allocations: 0.5867 MB / 332.2 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.01084, allocations: 44.77 kB / 332.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.01084, allocations: 8.062 kB / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.01087, allocations: 16.86 kB / 332.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.01105, allocations: 35.91 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.01139, allocations: 231.5 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.01144, allocations: 67.33 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.01147, allocations: 17.28 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.01153, allocations: 71.42 kB / 332.7 MB, free: 232 kB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01154, allocations: 0 / 332.7 MB, free: 232 kB / 298.7 MB Notification: Performance of Templates: time 0.003641/0.01518, allocations: 2.018 MB / 334.7 MB, free: 14.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.871800876688212]