Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009182/0.0009182, allocations: 80.8 kB / 21.5 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.0009764/0.0009764, allocations: 177.2 kB / 24.92 MB, free: 8.766 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2796/0.2796, 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 323.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.102e-05, allocations: 2.312 kB / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002545/0.002566, allocations: 1.797 MB / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003808, allocations: 1.005 MB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.003881, allocations: 7.938 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.004139, allocations: 35.72 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.004412, allocations: 95.55 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.004619, allocations: 79.59 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.004774, allocations: 112.2 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.004849, allocations: 8.734 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.004933, allocations: 51.89 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.005003, allocations: 31.84 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.005017, allocations: 4 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.005098, allocations: 43.92 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.005141, allocations: 23.92 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.005171, allocations: 15.94 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.005323, allocations: 107.6 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005325, allocations: 4 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005326, allocations: 0 / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.00533, allocations: 0 / 326.8 MB, free: 6.113 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.0003213/0.005651, allocations: 317.3 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.005683, allocations: 12.02 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.005712, allocations: 8.938 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005851, allocations: 147.4 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.005864, allocations: 4.375 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.00588, allocations: 8.297 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/0.005972, allocations: 69.77 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005981, allocations: 3.938 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.005987, allocations: 0 / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.005991, allocations: 0 / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.006013, allocations: 4 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.006191, allocations: 166 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.006272, allocations: 89.23 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.006289, allocations: 8.859 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.0063, allocations: 7.984 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.166e-05/0.006381, allocations: 74.14 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.006382, allocations: 0 / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002733/0.006655, allocations: 117.5 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.006683, allocations: 51.41 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006783, allocations: 180.8 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.006797, allocations: 25.7 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.006828, allocations: 96.11 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.006853, allocations: 27.78 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.006883, allocations: 21.7 kB / 328.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.006963, allocations: 326.8 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.006979, allocations: 18.77 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.007004, allocations: 25.64 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.007045, allocations: 40.52 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007046, allocations: 384 / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.129e-05/0.007117, allocations: 72.38 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.007128, allocations: 4.625 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.007132, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.007143, allocations: 4 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.007202, allocations: 23.98 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.007204, allocations: 4.031 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.007233, allocations: 8 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.007238, allocations: 0 / 328.7 MB, free: 4.008 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 7.362e-05/0.007311, allocations: 123.1 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.007326, allocations: 15.92 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.007435, allocations: 75.12 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007437, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.007438, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.007442, allocations: 7.922 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.007737, allocations: 295.4 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.00774, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.007781, allocations: 11.94 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.007785, allocations: 4 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.007796, allocations: 7.984 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.007798, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007799, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.007953, allocations: 215 kB / 329.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.007969, allocations: 7.953 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.007991, allocations: 4 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.008067, allocations: 12.02 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.008099, allocations: 3.984 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.008114, allocations: 4 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.146e-05/0.008186, allocations: 55.62 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008186, allocations: 0 / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.008443, allocations: 23.94 kB / 329.6 MB, free: 3.09 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.001249/0.009692, allocations: 0.5859 MB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.009779, allocations: 36.78 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.009782, allocations: 0 / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.009812, allocations: 32.77 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.009994, allocations: 35.91 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.01029, allocations: 215.8 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.01033, allocations: 63.34 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.01037, allocations: 21.27 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.01043, allocations: 67.36 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01043, allocations: 0 / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of Templates: time 0.003961/0.01439, allocations: 2.019 MB / 332.6 MB, free: 300 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.009912444278598]