Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001037/0.001037, allocations: 80.8 kB / 21.49 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.001207/0.001207, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.049/1.049, 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.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.2598/0.2598, allocations: 34.27 MB / 296.1 MB, free: 0.6992 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 325.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.987e-05, allocations: 7.188 kB / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002524/0.002554, allocations: 1.802 MB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003854, allocations: 1.002 MB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.003936, allocations: 7.938 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.004212, allocations: 39.77 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.00447, allocations: 87.55 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.004643, allocations: 87.53 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.004789, allocations: 107.6 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.00487, allocations: 7.984 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.004961, allocations: 51.84 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.005034, allocations: 31.89 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.005048, allocations: 4 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.005123, allocations: 39.94 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.005164, allocations: 19.92 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.005197, allocations: 28.41 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.005354, allocations: 107.5 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005356, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005357, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.005361, allocations: 0 / 328.8 MB, free: 4.109 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.0003382/0.005699, allocations: 309.6 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.005729, allocations: 8.031 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.005761, allocations: 8.938 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.005984, allocations: 146.2 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.005997, allocations: 384 / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.006013, allocations: 12.31 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.006116, allocations: 61.77 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.006126, allocations: 3.938 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.006133, allocations: 4 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.006139, allocations: 0 / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.006162, allocations: 7.984 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.006369, allocations: 170 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.006452, allocations: 85.23 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.006476, allocations: 16.83 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.006487, allocations: 8 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.475e-05/0.006572, allocations: 62.16 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.006573, allocations: 0 / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002654/0.006839, allocations: 113.8 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.006871, allocations: 59.34 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.006968, allocations: 174.1 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.00698, allocations: 25.7 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.007011, allocations: 92.11 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.007039, allocations: 27.75 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.007067, allocations: 29.69 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.007138, allocations: 326.8 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.007154, allocations: 6.828 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.007184, allocations: 33.75 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.007226, allocations: 36.53 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.007227, allocations: 4 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.41e-05/0.007301, allocations: 72.36 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.007312, allocations: 8 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.007316, allocations: 0 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.007328, allocations: 32 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.007388, allocations: 23.98 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007391, allocations: 4 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.007417, allocations: 4 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.007423, allocations: 4 kB / 330.7 MB, free: 2.023 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 6.971e-05/0.007493, allocations: 127.5 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.007505, allocations: 11.92 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.683e-05/0.007602, allocations: 71.14 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.007604, allocations: 0 / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.007606, allocations: 11.92 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007608, allocations: 4 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.007813, allocations: 283.6 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007814, allocations: 3.938 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.00784, allocations: 12 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.007843, allocations: 0 / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.007849, allocations: 4 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007852, allocations: 7.984 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007852, allocations: 0 / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.653e-05/0.007949, allocations: 215 kB / 331.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.00796, allocations: 11.91 kB / 331.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.007974, allocations: 4.031 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.008014, allocations: 8 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.008038, allocations: 11.92 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.008048, allocations: 0 / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.00809, allocations: 48.34 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00809, allocations: 0 / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.008237, allocations: 31.92 kB / 331.6 MB, free: 1.102 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.001205/0.009442, allocations: 0.5669 MB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.855e-05/0.009541, allocations: 48.77 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.009544, allocations: 0 / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.009576, allocations: 28.78 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.009762, allocations: 35.41 kB / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.01006, allocations: 224.1 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.881e-05/0.0101, allocations: 67.33 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.8e-05/0.01014, allocations: 17.28 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.0102, allocations: 67.36 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0102, allocations: 0 / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of Templates: time 0.003657/0.01386, allocations: 2.005 MB / 334.6 MB, free: 14.33 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.9086707490496337]