Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001391/0.001391, 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.001571/0.001571, allocations: 169.6 kB / 24.91 MB, free: 8.734 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.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2666/0.2666, allocations: 32.81 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 323.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.452e-05, allocations: 5.859 kB / 323.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002606/0.00263, allocations: 1.794 MB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.004498, allocations: 1.738 MB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.004583, allocations: 0 / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.00491, allocations: 43.7 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.005201, allocations: 95.47 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.005348, allocations: 75.61 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.005497, allocations: 111.6 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.005586, allocations: 13.34 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.005688, allocations: 63.77 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.005806, allocations: 35.91 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.005822, allocations: 4 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.005981, allocations: 111.8 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.006027, allocations: 23.91 kB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.006061, allocations: 15.94 kB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.006274, allocations: 163.4 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.006276, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006277, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006282, allocations: 4 kB / 327.6 MB, free: 5.23 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.0003916/0.006674, allocations: 333.2 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.006713, allocations: 12.03 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.006744, allocations: 8.938 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.006905, allocations: 146.2 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.006918, allocations: 384 / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.006936, allocations: 4.375 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.007069, allocations: 104.6 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.007077, allocations: 0 / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.007085, allocations: 3.984 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.00709, allocations: 0 / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.545e-05/0.007115, allocations: 14.83 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.007319, allocations: 177.8 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.007406, allocations: 81.3 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.007428, allocations: 20.8 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.00744, allocations: 3.984 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.444e-05/0.007525, allocations: 58.22 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.42e-07/0.007525, allocations: 0 / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002755/0.007801, allocations: 113.6 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.007837, allocations: 81.09 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007939, allocations: 163.5 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007953, allocations: 29.7 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.007986, allocations: 96.05 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.008016, allocations: 31.73 kB / 329.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.008047, allocations: 25.7 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.008142, allocations: 318.8 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.008156, allocations: 10.83 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.008195, allocations: 60.62 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.008234, allocations: 36.47 kB / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008235, allocations: 4 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.116e-05/0.008306, allocations: 76.47 kB / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.008318, allocations: 8 kB / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008322, allocations: 0 / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.008333, allocations: 0 / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.008391, allocations: 19.92 kB / 329.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.008395, allocations: 7.938 kB / 329.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.00842, allocations: 0 / 329.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.008426, allocations: 4 kB / 329.7 MB, free: 3.012 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.34e-05/0.008489, allocations: 128.6 kB / 329.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.008499, allocations: 4 kB / 329.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.008595, allocations: 82.41 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.008598, allocations: 4 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.008602, allocations: 0 / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008606, allocations: 0 / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.008808, allocations: 287.4 kB / 330.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00881, allocations: 0 / 330.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.008835, allocations: 15.98 kB / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008837, allocations: 0 / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.008842, allocations: 0 / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008843, allocations: 0 / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008844, allocations: 8.031 kB / 330.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.008945, allocations: 219 kB / 330.4 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.008956, allocations: 11.94 kB / 330.4 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.008971, allocations: 3.984 kB / 330.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.009009, allocations: 4 kB / 330.4 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.009036, allocations: 11.98 kB / 330.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.009047, allocations: 0 / 330.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.009097, allocations: 43.64 kB / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009097, allocations: 0 / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.009356, allocations: 51.86 kB / 330.5 MB, free: 2.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.001602/0.01096, allocations: 0.7103 MB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.135e-05/0.01105, allocations: 40.78 kB / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01105, allocations: 0 / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.01109, allocations: 33.05 kB / 331.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.01127, allocations: 44.03 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.01156, allocations: 199.6 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.0116, allocations: 63.34 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.01164, allocations: 20.97 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.01172, allocations: 75.34 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01172, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of Templates: time 0.004349/0.01607, allocations: 2.763 MB / 334.4 MB, free: 14.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.0863427203148603]