Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 165.1 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2681/0.2681, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.571e-05, allocations: 3.016 kB / 326 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002235/0.00225, allocations: 1.815 MB / 327.9 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.004099, allocations: 1.738 MB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.004173, allocations: 0 / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.004438, allocations: 31.78 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.00472, allocations: 103.4 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.004864, allocations: 79.59 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.005016, allocations: 104.5 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.005106, allocations: 11.97 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.005197, allocations: 63.77 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.005307, allocations: 39.83 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.005323, allocations: 4 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.005497, allocations: 111.8 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.005558, allocations: 23.92 kB / 330.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.005592, allocations: 15.94 kB / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.005837, allocations: 159.5 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.00584, allocations: 0 / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005841, allocations: 3.938 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005845, allocations: 0 / 330.3 MB, free: 2.695 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.0004125/0.006257, allocations: 333.5 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.006289, allocations: 8.031 kB / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.006323, allocations: 16.86 kB / 330.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.006481, allocations: 142.2 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006495, allocations: 384 / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.006513, allocations: 4.375 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006643, allocations: 101.2 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.006656, allocations: 7.922 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.006663, allocations: 0 / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.006668, allocations: 0 / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.006695, allocations: 18.77 kB / 331 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.006908, allocations: 169.9 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.006993, allocations: 85.3 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.007014, allocations: 24.78 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.007026, allocations: 0 / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/0.007113, allocations: 70.08 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.007114, allocations: 0 / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002769/0.007391, allocations: 109.6 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.007425, allocations: 81.05 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.007531, allocations: 156.3 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.007545, allocations: 29.7 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.007581, allocations: 96.11 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.007616, allocations: 31.73 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.007645, allocations: 21.7 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.007722, allocations: 322.8 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.007739, allocations: 10.83 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.007776, allocations: 60.25 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.007818, allocations: 36.47 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007819, allocations: 0 / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.969e-05/0.007898, allocations: 76.42 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.007912, allocations: 12.06 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007917, allocations: 0 / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.007931, allocations: 0 / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.007995, allocations: 19.92 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007999, allocations: 0 / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.008028, allocations: 4 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.008036, allocations: 4 kB / 332.3 MB, free: 488 kB / 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 7.097e-05/0.008107, allocations: 124.6 kB / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.008118, allocations: 7.938 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.008221, allocations: 78.38 kB / 332.6 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.008224, allocations: 4 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008225, allocations: 0 / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.008231, allocations: 4 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.008468, allocations: 291.6 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.008471, allocations: 3.984 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.008499, allocations: 8 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.008503, allocations: 4 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.00851, allocations: 0 / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008511, allocations: 0 / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008513, allocations: 3.938 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.008623, allocations: 231 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.008634, allocations: 7.953 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008649, allocations: 0 / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.008689, allocations: 4.375 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.008718, allocations: 7.984 kB / 333.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.00873, allocations: 4 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.008773, allocations: 49.06 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008773, allocations: 3.938 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.008946, allocations: 47.86 kB / 333.2 MB, free: 15.54 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.001385/0.01033, allocations: 0.6839 MB / 333.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.01043, allocations: 40.77 kB / 333.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01044, allocations: 4 kB / 333.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.01046, allocations: 20.84 kB / 334 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.01064, allocations: 60.94 kB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.01093, allocations: 200 kB / 334.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.01096, allocations: 67.28 kB / 334.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.006e-05/0.011, allocations: 17.28 kB / 334.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.01108, allocations: 75.34 kB / 334.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of SimCode: time 5.52e-07/0.01108, allocations: 0 / 334.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of Templates: time 0.004244/0.01532, allocations: 2.761 MB / 337.1 MB, free: 11.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.1605930728837848]