Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001443/0.001443, allocations: 80.8 kB / 21.5 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.001672/0.001672, allocations: 167.9 kB / 24.91 MB, free: 8.77 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.9656/0.9656, allocations: 177.1 MB / 205.3 MB, free: 5.445 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.2529/0.2529, allocations: 34.27 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.003e-05, allocations: 3.516 kB / 325.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005682/0.005702, allocations: 1.806 MB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.007151, allocations: 1.006 MB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.007223, allocations: 4 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.01053, allocations: 43.7 kB / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.01079, allocations: 95.48 kB / 328.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.01096, allocations: 79.59 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.01112, allocations: 111.7 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.01119, allocations: 4 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.01128, allocations: 55.78 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.01135, allocations: 31.89 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.01137, allocations: 4 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.01145, allocations: 43.92 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.0115, allocations: 23.86 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.01153, allocations: 24.42 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.0117, allocations: 95.66 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.0117, allocations: 7.984 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0117, allocations: 0 / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.01171, allocations: 0 / 328.8 MB, free: 4.066 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.0004184/0.01212, allocations: 325.4 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.01216, allocations: 16.02 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.01219, allocations: 4.938 kB / 329.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.01234, allocations: 150.6 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.01236, allocations: 384 / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.01237, allocations: 8.359 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.01247, allocations: 61.77 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.01248, allocations: 7.938 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.01249, allocations: 0 / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.0125, allocations: 4 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.01252, allocations: 7.938 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.01272, allocations: 170 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.01281, allocations: 85.28 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.01283, allocations: 8.859 kB / 329.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.01284, allocations: 3.984 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.008e-05/0.01293, allocations: 74.09 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.01293, allocations: 0 / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002925/0.01323, allocations: 121.5 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.01325, allocations: 55.41 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.01337, allocations: 176.3 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.01338, allocations: 25.7 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003052/0.01644, allocations: 104 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.01647, allocations: 27.78 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.0165, allocations: 21.7 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.01659, allocations: 326.8 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.01661, allocations: 10.83 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.01664, allocations: 25.7 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.01669, allocations: 44.45 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01669, allocations: 0 / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.655e-05/0.01678, allocations: 72.44 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.01679, allocations: 7.938 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01679, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.0168, allocations: 7.984 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.01686, allocations: 15.94 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.01686, allocations: 4.031 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.01689, allocations: 8 kB / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.01689, allocations: 0 / 330.7 MB, free: 1.941 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 0.0001843/0.01708, allocations: 121.8 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.01709, allocations: 11.94 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.01718, allocations: 83.05 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01718, allocations: 0 / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01718, allocations: 0 / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01719, allocations: 0 / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.01739, allocations: 299.6 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01739, allocations: 8.016 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.01741, allocations: 8 kB / 331.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01741, allocations: 4 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.01742, allocations: 0 / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01742, allocations: 0 / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01742, allocations: 4 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.704e-05/0.01751, allocations: 215 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.01752, allocations: 11.91 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.01754, allocations: 4 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.01757, allocations: 4.375 kB / 331.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.0176, allocations: 11.98 kB / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.0176, allocations: 0 / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.206e-05/0.01765, allocations: 68.61 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01765, allocations: 0 / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.01778, allocations: 23.94 kB / 331.6 MB, free: 1.012 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.001403/0.01918, allocations: 0.5821 MB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.01928, allocations: 36.78 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01928, allocations: 0 / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.01932, allocations: 28.84 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.01958, allocations: 34.91 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.01992, allocations: 227.7 kB / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.908e-05/0.01997, allocations: 75.33 kB / 332.6 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.02002, allocations: 21.27 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.0201, allocations: 63.38 kB / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0201, allocations: 0 / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of Templates: time 0.004841/0.02494, allocations: 2.022 MB / 334.7 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9374010511673987]