Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001014/0.001014, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001141/0.001141, allocations: 166.9 kB / 24.91 MB, free: 9.152 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2838/0.2838, allocations: 32.8 MB / 294.6 MB, free: 1.164 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 323.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.488e-05, allocations: 2.312 kB / 323.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002635/0.00266, allocations: 1.795 MB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003994, allocations: 1.001 MB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.00407, allocations: 3.938 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.004366, allocations: 55.69 kB / 326.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.004621, allocations: 95.47 kB / 326.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.004771, allocations: 79.66 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.004916, allocations: 111.6 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.005014, allocations: 5.375 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.005102, allocations: 55.83 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.005183, allocations: 27.91 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.0052, allocations: 4 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.005287, allocations: 51.91 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.005337, allocations: 23.92 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.005373, allocations: 19.88 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.005557, allocations: 111.6 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005561, allocations: 0 / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005562, allocations: 0 / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.005567, allocations: 0 / 326.8 MB, free: 6.086 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.0004204/0.005987, allocations: 333.2 kB / 327.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.006029, allocations: 12.03 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.006066, allocations: 12.88 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.00625, allocations: 162.3 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.006267, allocations: 384 / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.00629, allocations: 8.375 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.006415, allocations: 57.77 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.006425, allocations: 3.938 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.006435, allocations: 7.984 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006441, allocations: 0 / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.731e-05/0.006469, allocations: 11.98 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.006676, allocations: 161.9 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.437e-05/0.00677, allocations: 93.2 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.00679, allocations: 16.92 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.006806, allocations: 4 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.006921, allocations: 62.16 kB / 327.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.006922, allocations: 0 / 327.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003275/0.00725, allocations: 121.5 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.007286, allocations: 51.41 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.007421, allocations: 197.6 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.007437, allocations: 25.7 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.00748, allocations: 100.1 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.007513, allocations: 31.78 kB / 328.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.007548, allocations: 25.7 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.00764, allocations: 326.8 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.007658, allocations: 10.77 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.007688, allocations: 29.69 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.007731, allocations: 32.53 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.007732, allocations: 0 / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.443e-05/0.007826, allocations: 80.36 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.00784, allocations: 8 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.007847, allocations: 8.016 kB / 328.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.007858, allocations: 0 / 328.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.007924, allocations: 16.38 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.007928, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.007954, allocations: 4 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.007964, allocations: 11.98 kB / 328.8 MB, free: 3.918 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.694e-05/0.008041, allocations: 124.5 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.008053, allocations: 11.92 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.008159, allocations: 79.08 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008161, allocations: 4 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.008162, allocations: 0 / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008165, allocations: 0 / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.008485, allocations: 295.4 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.008486, allocations: 0 / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.008516, allocations: 16 kB / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008518, allocations: 0 / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.008524, allocations: 0 / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008526, allocations: 0 / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008528, allocations: 4 kB / 329.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.008632, allocations: 219 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.008646, allocations: 11.91 kB / 329.5 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.008663, allocations: 8 kB / 329.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.008701, allocations: 0 / 329.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.00873, allocations: 7.984 kB / 329.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.008743, allocations: 0 / 329.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.15e-05/0.008794, allocations: 68.2 kB / 329.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008794, allocations: 0 / 329.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.008944, allocations: 27.94 kB / 329.6 MB, free: 2.988 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.001311/0.01025, allocations: 0.5773 MB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.01035, allocations: 40.78 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.01036, allocations: 4 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.01039, allocations: 28.78 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.01057, allocations: 35.97 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.0109, allocations: 246.5 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.01094, allocations: 71.33 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01098, allocations: 17.22 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.01104, allocations: 63.38 kB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01104, allocations: 0 / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of Templates: time 0.003653/0.0147, allocations: 2.036 MB / 332.7 MB, free: 168 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.1230745892971754]