Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001215/0.001215, 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.001603/0.001603, allocations: 167.2 kB / 24.91 MB, free: 8.613 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.9686/0.9686, 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.2488/0.2488, allocations: 34.26 MB / 296.1 MB, free: 0.6523 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.92e-05, allocations: 2.312 kB / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002344/0.002363, allocations: 1.814 MB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.004013, allocations: 1.006 MB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.0041, allocations: 0 / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.004374, allocations: 39.7 kB / 328.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.004654, allocations: 99.47 kB / 328.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.004833, allocations: 71.62 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.005008, allocations: 107.7 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.005096, allocations: 8 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.005194, allocations: 63.75 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.005268, allocations: 23.92 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.005284, allocations: 4 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.005373, allocations: 43.92 kB / 328.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.005421, allocations: 27.84 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.005459, allocations: 20.42 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.005636, allocations: 99.66 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005638, allocations: 0 / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005639, allocations: 0 / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005643, allocations: 0 / 328.8 MB, free: 4.082 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.00042/0.006063, allocations: 329.4 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.006106, allocations: 16.03 kB / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.006141, allocations: 4.938 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.006346, allocations: 147.4 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006366, allocations: 8.375 kB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.006386, allocations: 384 / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.006517, allocations: 65.77 kB / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.006531, allocations: 3.938 kB / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.006539, allocations: 0 / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.006545, allocations: 0 / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.006578, allocations: 15.92 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.006832, allocations: 162 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.006945, allocations: 85.36 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.006972, allocations: 16.84 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.006983, allocations: 0 / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.007091, allocations: 66.09 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007092, allocations: 0 / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003132/0.007405, allocations: 121.5 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.007442, allocations: 55.41 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.007578, allocations: 173.3 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.007596, allocations: 33.7 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.007638, allocations: 100.1 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.007667, allocations: 23.8 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.007708, allocations: 21.69 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.007803, allocations: 326.8 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.007823, allocations: 10.83 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.007853, allocations: 25.69 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.906e-05/0.007912, allocations: 40.47 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007913, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.008016, allocations: 76.42 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.008029, allocations: 4 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.008034, allocations: 4 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.008047, allocations: 3.938 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.008122, allocations: 15.98 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.008125, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.008165, allocations: 15.94 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.008171, allocations: 0 / 330.7 MB, free: 1.973 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.729e-05/0.008248, allocations: 120.7 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.008269, allocations: 15.97 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.008395, allocations: 75.06 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008398, allocations: 0 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008399, allocations: 0 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.008403, allocations: 0 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.008676, allocations: 303.5 kB / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008678, allocations: 0 / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.008712, allocations: 15.98 kB / 331.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008715, allocations: 0 / 331.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.008722, allocations: 0 / 331.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008723, allocations: 4.031 kB / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.008726, allocations: 4 kB / 331.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.008864, allocations: 219 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.008879, allocations: 11.94 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.008896, allocations: 0 / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.008961, allocations: 8.375 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.008989, allocations: 7.984 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.009005, allocations: 7.938 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.622e-05/0.009061, allocations: 51.64 kB / 331.5 MB, free: 1.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009061, allocations: 0 / 331.5 MB, free: 1.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.009279, allocations: 23.94 kB / 331.6 MB, free: 1.047 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.001571/0.01085, allocations: 0.5725 MB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.01093, allocations: 44.77 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.01094, allocations: 8.062 kB / 332.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.01096, allocations: 20.84 kB / 332.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.01114, allocations: 38.91 kB / 332.3 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.01142, allocations: 223.6 kB / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.73e-05/0.01146, allocations: 67.34 kB / 332.5 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.01149, allocations: 17.27 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.01155, allocations: 71.42 kB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01155, allocations: 0 / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of Templates: time 0.003351/0.0149, allocations: 2.017 MB / 334.6 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.9334581210277975]