Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001373/0.001373, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001219/0.001219, allocations: 179.7 kB / 24.92 MB, free: 8.781 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.9999/0.9999, allocations: 177.1 MB / 205.3 MB, free: 5.449 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.2605/0.2605, allocations: 32.81 MB / 294.6 MB, free: 1.184 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 323.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.054e-05, allocations: 3.188 kB / 323.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002368/0.002388, allocations: 1.795 MB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003637, allocations: 1.002 MB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.003706, allocations: 7.938 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.003963, allocations: 35.77 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.004221, allocations: 103.5 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.004404, allocations: 75.61 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.004579, allocations: 107.6 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.004652, allocations: 12.73 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.004738, allocations: 51.83 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.004806, allocations: 27.91 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.004819, allocations: 4 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.004897, allocations: 43.92 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.004942, allocations: 27.86 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.004972, allocations: 19.92 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.005121, allocations: 103.6 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005123, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005123, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.005127, allocations: 0 / 326.8 MB, free: 6.105 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.0003122/0.005439, allocations: 325.3 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.005469, allocations: 12.03 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.005496, allocations: 8.922 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.005633, allocations: 147.4 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.005646, allocations: 4.375 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.00566, allocations: 4.312 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.005758, allocations: 69.77 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005766, allocations: 3.938 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.005772, allocations: 0 / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.005775, allocations: 0 / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.0058, allocations: 11.98 kB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.005988, allocations: 162 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/0.006072, allocations: 93.28 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.00609, allocations: 12.86 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.006099, allocations: 0 / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.416e-05/0.006183, allocations: 70.16 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.006184, allocations: 0 / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002697/0.006454, allocations: 117.5 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.00648, allocations: 51.41 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.006578, allocations: 176.8 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.006592, allocations: 29.7 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.00662, allocations: 92.11 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.006646, allocations: 31.77 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.006675, allocations: 21.7 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.006745, allocations: 322.8 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.006763, allocations: 18.81 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.006788, allocations: 25.64 kB / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.006828, allocations: 40.52 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006829, allocations: 384 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.629e-05/0.006906, allocations: 76.36 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.006916, allocations: 4 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.00692, allocations: 4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.006929, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.133e-05/0.00699, allocations: 23.94 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.006992, allocations: 4.031 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.007022, allocations: 11.98 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.007027, allocations: 0 / 328.7 MB, free: 3.992 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.406e-05/0.007091, allocations: 123.3 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.007105, allocations: 15.92 kB / 328.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.007204, allocations: 71.14 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007206, allocations: 0 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007208, allocations: 7.922 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.007211, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.00743, allocations: 295.4 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007431, allocations: 3.938 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.00746, allocations: 12 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.007463, allocations: 0 / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.007469, allocations: 4 kB / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007471, allocations: 0 / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007473, allocations: 4 kB / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.007573, allocations: 219 kB / 329.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.007583, allocations: 7.953 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.007598, allocations: 4 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.00764, allocations: 4.031 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.007665, allocations: 11.98 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.007675, allocations: 0 / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.176e-05/0.007717, allocations: 51.64 kB / 329.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007717, allocations: 0 / 329.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.007863, allocations: 23.94 kB / 329.5 MB, free: 3.082 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.001209/0.009072, allocations: 0.585 MB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.656e-05/0.009168, allocations: 40.77 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.009173, allocations: 4 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.009202, allocations: 24.73 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.009387, allocations: 39.66 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.009671, allocations: 219.8 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.009712, allocations: 71.33 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.009745, allocations: 13.28 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.009808, allocations: 67.36 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.009809, allocations: 0 / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of Templates: time 0.003503/0.01331, allocations: 2.016 MB / 332.6 MB, free: 292 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.9331550607457757]