Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001031/0.001031, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001316/0.001316, allocations: 166 kB / 24.82 MB, free: 9.266 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.249/0.249, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.286e-05, allocations: 6.25 kB / 376.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002463/0.002485, allocations: 1.754 MB / 378.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.003841, allocations: 0.9897 MB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.00393, allocations: 0 / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.004244, allocations: 43.7 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.00486, allocations: 99.47 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.005033, allocations: 79.59 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.005191, allocations: 107.7 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.005287, allocations: 8 kB / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.005384, allocations: 63.75 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.005457, allocations: 19.92 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.005472, allocations: 4 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.005562, allocations: 47.91 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.005617, allocations: 23.86 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.005658, allocations: 19.94 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.005832, allocations: 99.64 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005833, allocations: 0 / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005834, allocations: 0 / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005839, allocations: 4 kB / 379.9 MB, free: 0.918 MB / 346.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.0004646/0.006303, allocations: 455.8 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.006344, allocations: 8.031 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.006382, allocations: 20.78 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.006543, allocations: 157.1 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.00656, allocations: 384 / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.006579, allocations: 4.375 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.006712, allocations: 58.94 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.006726, allocations: 3.938 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.006734, allocations: 0 / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.006742, allocations: 8 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.006772, allocations: 15.92 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.007061, allocations: 256.4 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.007152, allocations: 55.16 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.007173, allocations: 15.67 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.00719, allocations: 3.938 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.446e-05/0.007285, allocations: 72.97 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007286, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003167/0.007602, allocations: 133.5 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.007632, allocations: 55.41 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.007753, allocations: 226.3 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.007767, allocations: 29.7 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.007829, allocations: 158.8 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.007853, allocations: 19.8 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.007888, allocations: 31.34 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.008019, allocations: 0.4923 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.008036, allocations: 8 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.008067, allocations: 39.34 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.008114, allocations: 47.3 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008116, allocations: 0 / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.914e-05/0.008215, allocations: 97.45 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.008226, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.008231, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008244, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.008307, allocations: 19.98 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.00831, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.008337, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.008342, allocations: 4 kB / 382.4 MB, free: 14.24 MB / 362.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 7.879e-05/0.008421, allocations: 171.9 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.00844, allocations: 23.78 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.008576, allocations: 99.27 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008578, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.008579, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.008583, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.00884, allocations: 366 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.008842, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.008873, allocations: 19.94 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.008875, allocations: 4.031 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.008882, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008882, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008883, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.009017, allocations: 255.4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.009029, allocations: 11.94 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.009044, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.009087, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.009113, allocations: 3.984 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.009122, allocations: 4 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.363e-05/0.009186, allocations: 164.1 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009186, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.009352, allocations: 27.92 kB / 383.5 MB, free: 13.03 MB / 362.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.0008651/0.01022, allocations: 434.3 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.671e-05/0.0103, allocations: 47.59 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01031, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.01034, allocations: 27.62 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.01056, allocations: 38.52 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.01085, allocations: 222.4 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.01089, allocations: 71.33 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.01092, allocations: 24.89 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.01099, allocations: 86.19 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01099, allocations: 0 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of Templates: time 0.003602/0.01459, allocations: 2.053 MB / 386.5 MB, free: 10.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.960388684179634]