Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001098/0.001098, allocations: 80.8 kB / 21.49 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.00127/0.00127, allocations: 171.1 kB / 24.91 MB, free: 9.188 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.9876/0.9876, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3009/0.3009, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.339e-05, allocations: 2.312 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00284/0.002853, allocations: 2.36 MB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.004754, allocations: 1.399 MB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.004877, allocations: 3.938 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.005268, allocations: 290.8 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.005721, allocations: 342.4 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.006062, allocations: 219.4 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.006525, allocations: 0.5767 MB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.006622, allocations: 41.23 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.006898, allocations: 291.2 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.007104, allocations: 235.3 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.007135, allocations: 20 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.007241, allocations: 63.86 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.007338, allocations: 135.5 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.007417, allocations: 99.58 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.00769, allocations: 326.6 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.007692, allocations: 0 / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007692, allocations: 0 / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.007697, allocations: 0 / 331.7 MB, free: 1.176 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006276/0.008325, allocations: 0.6989 MB / 332.4 MB, free: 464 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.008353, allocations: 12.03 kB / 332.4 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.008411, allocations: 44.89 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.008702, allocations: 333.7 kB / 332.8 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.008722, allocations: 12.88 kB / 332.8 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.008742, allocations: 16.33 kB / 332.8 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.008947, allocations: 198.3 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.00896, allocations: 7.922 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.008971, allocations: 4 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.008977, allocations: 4 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.009052, allocations: 66.03 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.009486, allocations: 0.6072 MB / 333.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.009726, allocations: 442.2 kB / 334.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.009785, allocations: 56.28 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.009797, allocations: 12 kB / 334.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.009968, allocations: 190.2 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.133e-06/0.00997, allocations: 4 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006029/0.01057, allocations: 460.2 kB / 334.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.01062, allocations: 162.2 kB / 335 MB, free: 13.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.01096, allocations: 0.493 MB / 335.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.01099, allocations: 37.7 kB / 335.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.01105, allocations: 154.2 kB / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.01113, allocations: 134.9 kB / 335.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.01119, allocations: 66.17 kB / 335.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.01129, allocations: 382.6 kB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.01134, allocations: 43.8 kB / 336.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.01143, allocations: 122 kB / 336.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.01159, allocations: 210.8 kB / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01159, allocations: 0 / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000219/0.01181, allocations: 247.6 kB / 336.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.01182, allocations: 4 kB / 336.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01183, allocations: 8 kB / 336.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01184, allocations: 4 kB / 336.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.012, allocations: 83.89 kB / 337 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.012, allocations: 12.09 kB / 337 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.01209, allocations: 23.92 kB / 337 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.01211, allocations: 8 kB / 337 MB, free: 11.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001007/0.01221, allocations: 155.1 kB / 337.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.01225, allocations: 47.95 kB / 337.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.01253, allocations: 261.9 kB / 337.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.01253, allocations: 8 kB / 337.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01253, allocations: 3.938 kB / 337.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01254, allocations: 7.984 kB / 337.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.01322, allocations: 1.093 MB / 338.6 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.01323, allocations: 4 kB / 338.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.01332, allocations: 59.91 kB / 338.6 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01333, allocations: 4 kB / 338.6 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.01334, allocations: 8 kB / 338.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01334, allocations: 7.938 kB / 338.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01335, allocations: 12.14 kB / 338.7 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.01373, allocations: 0.8501 MB / 339.5 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.01377, allocations: 51.62 kB / 339.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.01381, allocations: 15.98 kB / 339.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.01398, allocations: 19.98 kB / 339.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.01404, allocations: 39.88 kB / 339.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.01406, allocations: 12 kB / 339.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.01424, allocations: 251.2 kB / 339.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01424, allocations: 0 / 339.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.01457, allocations: 103.8 kB / 340 MB, free: 8.414 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001232/0.0158, allocations: 0.5996 MB / 340.6 MB, free: 8.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.01603, allocations: 189.5 kB / 340.8 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.01604, allocations: 4 kB / 340.8 MB, free: 7.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.01614, allocations: 114 kB / 340.9 MB, free: 7.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.01667, allocations: 154.2 kB / 341.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.0177, allocations: 0.8384 MB / 341.9 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.259e-05/0.01779, allocations: 133.9 kB / 342 MB, free: 6.617 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.01794, allocations: 83.39 kB / 342.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.01813, allocations: 147.3 kB / 342.3 MB, free: 6.391 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01813, allocations: 0 / 342.3 MB, free: 6.391 MB / 314.7 MB Notification: Performance of Templates: time 0.008246/0.02637, allocations: 6.784 MB / 349 MB, free: 15.74 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.0299332048743963]