Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001279/0.001279, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001106/0.001106, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.9582/0.9582, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.253/0.253, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.05e-05, allocations: 8.422 kB / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002443/0.002463, allocations: 1.799 MB / 325.2 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003583, allocations: 1.005 MB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.003643, allocations: 0 / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.003895, allocations: 87.58 kB / 326.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.004107, allocations: 107.5 kB / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.004236, allocations: 87.53 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.004396, allocations: 123.5 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.004466, allocations: 9.375 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.004552, allocations: 63.88 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.004635, allocations: 55.8 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.004648, allocations: 4 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.004717, allocations: 47.92 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.004755, allocations: 23.92 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.004785, allocations: 19.92 kB / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004927, allocations: 107.5 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004929, allocations: 0 / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00493, allocations: 0 / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004933, allocations: 0 / 326.9 MB, free: 6.027 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.0002959/0.005229, allocations: 329.3 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.005257, allocations: 8.031 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.005286, allocations: 12.92 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005425, allocations: 149.5 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.005438, allocations: 8.375 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.005456, allocations: 12.3 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.005541, allocations: 61.77 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.00555, allocations: 3.938 kB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.005555, allocations: 0 / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.005559, allocations: 3.938 kB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.005581, allocations: 8 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.005754, allocations: 162 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.005833, allocations: 93.28 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.005849, allocations: 12.86 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.005859, allocations: 3.984 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.499e-05/0.005934, allocations: 66.16 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.005935, allocations: 0 / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002475/0.006182, allocations: 125.4 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.006208, allocations: 51.41 kB / 328 MB, free: 4.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.006316, allocations: 185.1 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.006328, allocations: 25.7 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.006355, allocations: 92.11 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.006381, allocations: 35.77 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.006408, allocations: 21.72 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.006478, allocations: 330.8 kB / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.006495, allocations: 14.81 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.006518, allocations: 21.66 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.006561, allocations: 44.5 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006562, allocations: 384 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.593e-05/0.006638, allocations: 76.38 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.006648, allocations: 4 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006651, allocations: 4.031 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006663, allocations: 4 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.006714, allocations: 16 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.006717, allocations: 3.984 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.006743, allocations: 4 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006747, allocations: 0 / 328.8 MB, free: 3.891 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.307e-05/0.006811, allocations: 121.3 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.006825, allocations: 19.91 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.603e-05/0.006921, allocations: 71.14 kB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006923, allocations: 0 / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.006924, allocations: 4 kB / 329.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006927, allocations: 3.984 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.007128, allocations: 295.4 kB / 329.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007129, allocations: 0 / 329.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.007153, allocations: 23.88 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007155, allocations: 0 / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.007161, allocations: 3.984 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.007163, allocations: 4 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007164, allocations: 0 / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.007269, allocations: 219 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.007279, allocations: 7.953 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.007296, allocations: 8 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.007335, allocations: 3.984 kB / 329.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.007357, allocations: 4 kB / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.007367, allocations: 3.984 kB / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.398e-05/0.007411, allocations: 65.55 kB / 329.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007411, allocations: 0 / 329.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000145/0.007556, allocations: 23.94 kB / 329.7 MB, free: 2.957 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.00115/0.008707, allocations: 0.58 MB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.67e-05/0.008783, allocations: 40.77 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.008786, allocations: 0 / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.008817, allocations: 32.78 kB / 330.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.008986, allocations: 35.98 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.009269, allocations: 234.3 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.009306, allocations: 71.33 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.009339, allocations: 13.28 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.0094, allocations: 67.36 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009401, allocations: 0 / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of Templates: time 0.003487/0.01289, allocations: 2.024 MB / 332.8 MB, free: 148 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.9458568328991532]