Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001047/0.001047, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001661/0.001661, allocations: 175.9 kB / 24.92 MB, free: 8.762 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.9855/0.9855, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2745/0.2745, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.296e-05, allocations: 5.297 kB / 323.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002645/0.002668, allocations: 1.97 MB / 325.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004126, allocations: 1.111 MB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.00422, allocations: 3.938 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.004565, allocations: 159.3 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.004956, allocations: 187.2 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.00523, allocations: 127.5 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.005505, allocations: 251.2 kB / 327.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.005597, allocations: 19.23 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.005749, allocations: 135.6 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005888, allocations: 115.7 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.005912, allocations: 12 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.006016, allocations: 63.91 kB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.006074, allocations: 59.77 kB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.00612, allocations: 43.8 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.006338, allocations: 179.3 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006341, allocations: 0 / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006342, allocations: 0 / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.006346, allocations: 0 / 327.8 MB, free: 5.121 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004337/0.00678, allocations: 452.3 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.006809, allocations: 8.031 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.006847, allocations: 20.92 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.007048, allocations: 213.8 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.007064, allocations: 8.375 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.007083, allocations: 4.375 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.007226, allocations: 116.2 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.007242, allocations: 3.938 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.007249, allocations: 0 / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.007254, allocations: 4 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.007297, allocations: 33.55 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.007584, allocations: 296.9 kB / 328.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.00778, allocations: 190.6 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.007812, allocations: 33.64 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.007823, allocations: 0 / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.007939, allocations: 111.9 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.00794, allocations: 0 / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005871/0.008527, allocations: 309.1 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.008561, allocations: 85.11 kB / 329.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.008736, allocations: 292.6 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.008755, allocations: 33.7 kB / 329.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.008797, allocations: 121.1 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.008843, allocations: 63.42 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.008889, allocations: 49.67 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.008972, allocations: 346.7 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.009005, allocations: 18.83 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.009052, allocations: 59.38 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.009154, allocations: 104 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.009161, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001698/0.009331, allocations: 135.2 kB / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.009344, allocations: 4 kB / 330.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.009352, allocations: 8 kB / 330.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.009365, allocations: 3.984 kB / 330.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.00946, allocations: 51.91 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.009463, allocations: 240 / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.009509, allocations: 12 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.009518, allocations: 8 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.037e-05/0.009598, allocations: 132.6 kB / 331 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.009624, allocations: 19.98 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.009816, allocations: 164.2 kB / 331.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.00982, allocations: 4 kB / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.009822, allocations: 0 / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.009827, allocations: 4 kB / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.01023, allocations: 0.5516 MB / 331.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01023, allocations: 4 kB / 331.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.01029, allocations: 31.92 kB / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.01029, allocations: 7.938 kB / 331.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.0103, allocations: 8 kB / 331.8 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01031, allocations: 0 / 331.8 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01031, allocations: 4 kB / 331.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.0105, allocations: 404.8 kB / 332.2 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.01053, allocations: 31.75 kB / 332.3 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.01055, allocations: 12.12 kB / 332.3 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.01063, allocations: 11.98 kB / 332.3 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.01067, allocations: 23.91 kB / 332.3 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.01068, allocations: 4 kB / 332.3 MB, free: 268 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.01077, allocations: 123.5 kB / 332.4 MB, free: 144 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01077, allocations: 0 / 332.4 MB, free: 144 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.01099, allocations: 51.92 kB / 332.5 MB, free: 92 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001408/0.0124, allocations: 0.668 MB / 333.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.01256, allocations: 104.5 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.01257, allocations: 0 / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.01263, allocations: 64.75 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01292, allocations: 75.17 kB / 333.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.01342, allocations: 448.9 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.759e-05/0.01348, allocations: 100.2 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.01356, allocations: 41.91 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01366, allocations: 91.38 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.153e-06/0.01366, allocations: 0 / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of Templates: time 0.005732/0.01939, allocations: 3.623 MB / 337.7 MB, free: 11.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.035248250234872]