Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001064/0.001064, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001207/0.001207, allocations: 166 kB / 25.61 MB, free: 8.582 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.9689/0.9689, allocations: 177.1 MB / 206 MB, free: 4.527 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.1684/0.1684, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.686e-05, allocations: 6.141 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002226/0.002253, allocations: 1.75 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003355, allocations: 0.9897 MB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.00343, allocations: 4 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.003707, allocations: 51.75 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.003969, allocations: 103.4 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.004113, allocations: 75.61 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.004249, allocations: 111.6 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.004336, allocations: 7.984 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.004415, allocations: 55.83 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.004483, allocations: 31.91 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004498, allocations: 4 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.004568, allocations: 39.94 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.004616, allocations: 31.84 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.004649, allocations: 19.92 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.004811, allocations: 107.6 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004813, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004813, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.004818, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.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.0003551/0.005173, allocations: 467.7 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.005217, allocations: 23.97 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.005262, allocations: 12.84 kB / 381.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.005415, allocations: 161.2 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.005437, allocations: 4.375 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.005456, allocations: 8.312 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.005577, allocations: 54.94 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.00559, allocations: 3.938 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.005601, allocations: 4 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005608, allocations: 4 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.005635, allocations: 7.984 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.005852, allocations: 260.4 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.005929, allocations: 51.11 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005947, allocations: 23.66 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.005958, allocations: 0 / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/0.006039, allocations: 68.98 kB / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00604, allocations: 0 / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003074/0.006347, allocations: 137.4 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.006371, allocations: 51.41 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.006464, allocations: 264.8 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.006472, allocations: 29.7 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.006515, allocations: 162.8 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.006539, allocations: 19.84 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.006568, allocations: 31.36 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.006625, allocations: 0.5001 MB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.006641, allocations: 11.94 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.006663, allocations: 27.36 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.006703, allocations: 51.28 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.006704, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.687e-05/0.006801, allocations: 93.47 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006814, allocations: 8 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.006821, allocations: 0 / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.006831, allocations: 0 / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.006897, allocations: 15.98 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.0069, allocations: 4.156 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.006928, allocations: 4.312 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006934, allocations: 7.984 kB / 383.3 MB, free: 19.36 MB / 314.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.505e-05/0.006989, allocations: 163.5 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.007005, allocations: 19.88 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.007135, allocations: 115 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.007137, allocations: 0 / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.007139, allocations: 0 / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007142, allocations: 0 / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.007348, allocations: 369.5 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00735, allocations: 4 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.007378, allocations: 8 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.00738, allocations: 0 / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007387, allocations: 3.984 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007388, allocations: 8.031 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007389, allocations: 0 / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.007482, allocations: 263.7 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.007493, allocations: 7.953 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.007506, allocations: 0 / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.007547, allocations: 4 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.007572, allocations: 7.984 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.007584, allocations: 4 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.946e-05/0.007634, allocations: 175.1 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007634, allocations: 0 / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.0078, allocations: 20 kB / 384.4 MB, free: 18.13 MB / 314.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.0009669/0.008767, allocations: 446.4 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.737e-05/0.008865, allocations: 51.55 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.008866, allocations: 0 / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.008895, allocations: 27.67 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.00913, allocations: 43.25 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.00943, allocations: 245.5 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.009459, allocations: 75.33 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.009489, allocations: 12.97 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.009545, allocations: 94.19 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009546, allocations: 0 / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of Templates: time 0.003651/0.0132, allocations: 2.07 MB / 387.4 MB, free: 15.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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: 3.2012144960463047]