Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001625/0.001625, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001801/0.001801, allocations: 166.7 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.915/0.915, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1449/0.1449, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.66e-05, allocations: 4.281 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001661/0.001677, allocations: 1.729 MB / 350.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002713, allocations: 1.517 MB / 352.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.002773, allocations: 0 / 352.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.00301, allocations: 31.84 kB / 352.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.003188, allocations: 67.56 kB / 352.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.003346, allocations: 95.69 kB / 352.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.003456, allocations: 103.6 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.003528, allocations: 12.22 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.003594, allocations: 51.89 kB / 352.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.003674, allocations: 35.84 kB / 352.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.003688, allocations: 4 kB / 352.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.003769, allocations: 63.89 kB / 352.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.003806, allocations: 19.92 kB / 352.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.003834, allocations: 23.92 kB / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003969, allocations: 119.5 kB / 352.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003971, allocations: 0 / 352.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.003972, allocations: 4 kB / 352.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003977, allocations: 0 / 352.9 MB, free: 5.211 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002986/0.004275, allocations: 443.9 kB / 353.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.004302, allocations: 12.03 kB / 353.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.004334, allocations: 8.891 kB / 353.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.004444, allocations: 152.9 kB / 353.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.004457, allocations: 4.375 kB / 353.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.004471, allocations: 4.375 kB / 353.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.004569, allocations: 115.4 kB / 353.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.004576, allocations: 0 / 353.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004583, allocations: 7.984 kB / 353.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.004587, allocations: 0 / 353.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.004615, allocations: 11.98 kB / 353.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.004789, allocations: 264.3 kB / 353.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.696e-05/0.004866, allocations: 71.16 kB / 353.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.004885, allocations: 15.67 kB / 353.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.004893, allocations: 4 kB / 353.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/0.00496, allocations: 76.95 kB / 354 MB, free: 3.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004961, allocations: 4 kB / 354 MB, free: 3.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002624/0.005223, allocations: 149.4 kB / 354.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.005243, allocations: 81.09 kB / 354.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.005308, allocations: 213.8 kB / 354.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.005315, allocations: 25.7 kB / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.00534, allocations: 146.9 kB / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.00536, allocations: 31.73 kB / 354.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.005385, allocations: 31.36 kB / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.005422, allocations: 0.5 MB / 355.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.005436, allocations: 11.98 kB / 355.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.005463, allocations: 72.73 kB / 355.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.005501, allocations: 55.23 kB / 355.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.005502, allocations: 0 / 355.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.608e-05/0.005578, allocations: 93.61 kB / 355.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.005587, allocations: 4 kB / 355.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005591, allocations: 4 kB / 355.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.005599, allocations: 0 / 355.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.005649, allocations: 19.92 kB / 355.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.005652, allocations: 4 kB / 355.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.005676, allocations: 8.062 kB / 355.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005682, allocations: 4 kB / 355.5 MB, free: 2.355 MB / 282.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 (11): * Single equations (assignments): 11 * 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 4.278e-05/0.005725, allocations: 160.5 kB / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.00574, allocations: 23.89 kB / 355.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.005855, allocations: 110.4 kB / 355.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.005857, allocations: 0 / 355.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.005859, allocations: 0 / 355.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005862, allocations: 0 / 355.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.006051, allocations: 377.5 kB / 356.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006052, allocations: 0 / 356.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.006077, allocations: 24.02 kB / 356.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.006079, allocations: 0 / 356.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006084, allocations: 4 kB / 356.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006085, allocations: 0 / 356.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.006087, allocations: 0 / 356.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.006191, allocations: 271.3 kB / 356.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.0062, allocations: 11.94 kB / 356.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.006213, allocations: 0 / 356.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.006251, allocations: 8 kB / 356.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.006274, allocations: 15.92 kB / 356.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.006283, allocations: 8 kB / 356.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.146e-05/0.006314, allocations: 151.1 kB / 356.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006314, allocations: 0 / 356.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.006484, allocations: 39.92 kB / 356.6 MB, free: 1.098 MB / 282.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 (11): * Single equations (assignments): 9 * 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.0008485/0.007332, allocations: 486.4 kB / 357.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.946e-05/0.007422, allocations: 63.59 kB / 357.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.007423, allocations: 0 / 357.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.007452, allocations: 31.61 kB / 357.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.007646, allocations: 36.2 kB / 357.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.00787, allocations: 217.4 kB / 357.5 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.007895, allocations: 63.34 kB / 357.5 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.586e-05/0.00793, allocations: 29.08 kB / 357.5 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.007989, allocations: 102.2 kB / 357.6 MB, free: 124 kB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.00799, allocations: 0 / 357.6 MB, free: 124 kB / 282.7 MB Notification: Performance of Templates: time 0.003552/0.01154, allocations: 2.484 MB / 360.1 MB, free: 13.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.1365710920654237]