Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001063/0.001063, allocations: 80.92 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.002021/0.002021, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2307/0.2307, allocations: 32.8 MB / 294.6 MB, free: 1.207 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 323.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.506e-05, allocations: 2.969 kB / 323.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00199/0.002005, allocations: 1.792 MB / 325.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003074, allocations: 1.013 MB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.003129, allocations: 7.875 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.003355, allocations: 43.77 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.003558, allocations: 99.47 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.003684, allocations: 79.67 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003812, allocations: 111.5 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.003881, allocations: 9.375 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.003959, allocations: 59.81 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.00402, allocations: 23.92 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.004032, allocations: 4 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.004101, allocations: 51.86 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.004139, allocations: 27.91 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.004167, allocations: 23.86 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004307, allocations: 107.6 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004309, allocations: 0 / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004309, allocations: 4 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.004312, allocations: 0 / 326.8 MB, free: 6.125 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.0003005/0.004613, allocations: 349.1 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.00464, allocations: 12.03 kB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.004666, allocations: 4.938 kB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.004802, allocations: 174.4 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.004813, allocations: 384 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.004829, allocations: 4.375 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.846e-05/0.004918, allocations: 65.77 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.004926, allocations: 3.938 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.004931, allocations: 0 / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.004935, allocations: 4 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.004956, allocations: 7.984 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.005133, allocations: 169.9 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.005206, allocations: 81.3 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.005226, allocations: 24.91 kB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.005235, allocations: 0 / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.15e-05/0.005306, allocations: 62.16 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.005307, allocations: 0 / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002332/0.00554, allocations: 125.4 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.005563, allocations: 51.41 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.005674, allocations: 217 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.005688, allocations: 33.7 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.005718, allocations: 92.11 kB / 328.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.00574, allocations: 27.78 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.005767, allocations: 29.64 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.005848, allocations: 330.8 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.005866, allocations: 10.83 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.005887, allocations: 21.7 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.005926, allocations: 44.52 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005927, allocations: 0 / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.853e-05/0.005995, allocations: 72.38 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.006006, allocations: 4 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.006011, allocations: 8.031 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.00602, allocations: 3.984 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.006076, allocations: 15.94 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.006079, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.006107, allocations: 8 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006113, allocations: 4 kB / 328.8 MB, free: 3.922 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 5.838e-05/0.006171, allocations: 119.6 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.006186, allocations: 19.92 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.275e-05/0.006279, allocations: 75.08 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.006281, allocations: 3.984 kB / 329 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.006282, allocations: 4.375 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.006286, allocations: 0 / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.006482, allocations: 303.4 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.006485, allocations: 8 kB / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.006507, allocations: 8 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006508, allocations: 0 / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006515, allocations: 3.984 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006516, allocations: 4 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006517, allocations: 0 / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/0.006614, allocations: 223 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.006627, allocations: 15.91 kB / 329.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.006642, allocations: 3.984 kB / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.006681, allocations: 11.94 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.006703, allocations: 3.984 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.006715, allocations: 4 kB / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.396e-05/0.006769, allocations: 69.02 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006769, allocations: 0 / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.006905, allocations: 27.92 kB / 329.7 MB, free: 2.965 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.008055, allocations: 0.5871 MB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.199e-05/0.008127, allocations: 32.84 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.008131, allocations: 4 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.00816, allocations: 28.78 kB / 330.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.008325, allocations: 39.08 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.008616, allocations: 264.2 kB / 330.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.008658, allocations: 75.27 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.008694, allocations: 17.28 kB / 330.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.008754, allocations: 71.36 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.008755, allocations: 0 / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of Templates: time 0.003133/0.01189, allocations: 2.036 MB / 332.9 MB, free: 104 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.90349279390648]