Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001113/0.001113, 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.001422/0.001422, allocations: 179.7 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.2422/0.2422, allocations: 32.8 MB / 294.6 MB, free: 1.191 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 323.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.759e-05, allocations: 3.438 kB / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002262/0.00228, allocations: 1.802 MB / 325.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003514, allocations: 1.005 MB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.003582, allocations: 3.938 kB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.003876, allocations: 39.77 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.004106, allocations: 95.47 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.004256, allocations: 87.59 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.004394, allocations: 108.2 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.908e-05/0.004473, allocations: 8.75 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.004551, allocations: 47.89 kB / 326.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.004616, allocations: 27.91 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.004629, allocations: 7.938 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.004696, allocations: 43.92 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.004738, allocations: 31.91 kB / 326.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.004766, allocations: 15.94 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.004909, allocations: 111.5 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.00491, allocations: 0 / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004911, allocations: 0 / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004915, allocations: 0 / 326.8 MB, free: 6.141 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.0003088/0.005223, allocations: 321.4 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.005253, allocations: 8.031 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.005278, allocations: 4.938 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005412, allocations: 154.1 kB / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.005424, allocations: 4.375 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.005441, allocations: 16.3 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.005531, allocations: 57.77 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.005541, allocations: 7.938 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.005547, allocations: 0 / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005552, allocations: 0 / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.005574, allocations: 8 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.005755, allocations: 169.9 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.005835, allocations: 85.23 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.005854, allocations: 20.91 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.005864, allocations: 4 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.572e-05/0.00594, allocations: 66.14 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.005941, allocations: 0 / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002471/0.006188, allocations: 117.5 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.006215, allocations: 51.41 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.006381, allocations: 180.2 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.006393, allocations: 29.7 kB / 328.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.006424, allocations: 104 kB / 328.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.006449, allocations: 27.77 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.006475, allocations: 21.72 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.006543, allocations: 326.8 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.006559, allocations: 14.83 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.006582, allocations: 25.64 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.006622, allocations: 40.52 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006622, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.161e-05/0.006694, allocations: 72.38 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006705, allocations: 6.031 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.00671, allocations: 12.39 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.006719, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.006774, allocations: 12 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.006777, allocations: 4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.006805, allocations: 12 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006811, allocations: 3.984 kB / 328.7 MB, free: 4.016 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.58e-05/0.006866, allocations: 120.6 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.006879, allocations: 15.94 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.006971, allocations: 71.12 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006972, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006974, allocations: 4 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006976, allocations: 7.938 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.007174, allocations: 291.5 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007176, allocations: 4 kB / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.007199, allocations: 11.94 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.0072, allocations: 0 / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.007205, allocations: 0 / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007207, allocations: 4 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007208, allocations: 0 / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.347e-05/0.007301, allocations: 223 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.007313, allocations: 15.94 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.007328, allocations: 4 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.007366, allocations: 4 kB / 329.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.007391, allocations: 7.984 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.0074, allocations: 0 / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.051e-05/0.00744, allocations: 60.69 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00744, allocations: 3.938 kB / 329.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.007588, allocations: 27.92 kB / 329.6 MB, free: 3.086 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.001194/0.008782, allocations: 0.5749 MB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.323e-05/0.008865, allocations: 44.77 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.008869, allocations: 4 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.008899, allocations: 24.78 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.00907, allocations: 39.86 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.009336, allocations: 223.6 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.009372, allocations: 71.33 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.009406, allocations: 21.25 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.009466, allocations: 63.38 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009466, allocations: 0 / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of Templates: time 0.003376/0.01284, allocations: 2.015 MB / 332.7 MB, free: 296 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.8500953442417085]