Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.0009327/0.0009327, 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.001575/0.001575, allocations: 174.1 kB / 24.92 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 1.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2523/0.2523, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 323.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.1e-05, allocations: 7.188 kB / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00304/0.003071, allocations: 1.799 MB / 325.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.005313, allocations: 1.738 MB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.005434, allocations: 0 / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.005814, allocations: 39.7 kB / 326.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.006303, allocations: 95.48 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.006576, allocations: 83.59 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.006812, allocations: 111.6 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.006955, allocations: 13.36 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.007088, allocations: 59.77 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.007259, allocations: 35.89 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.007283, allocations: 4 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.007549, allocations: 103.8 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.007619, allocations: 23.92 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.007799, allocations: 23.91 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.008113, allocations: 155.4 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.008117, allocations: 4 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008118, allocations: 4 kB / 327.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.008124, allocations: 0 / 327.6 MB, free: 5.258 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.0005587/0.008683, allocations: 329.3 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.008737, allocations: 8.031 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.008798, allocations: 12.92 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.009032, allocations: 146.1 kB / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.009055, allocations: 384 / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.009082, allocations: 8.375 kB / 328.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.009298, allocations: 104.5 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.009312, allocations: 0 / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.009326, allocations: 8 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.009333, allocations: 0 / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.009371, allocations: 14.81 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.009694, allocations: 169.8 kB / 328.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.009837, allocations: 81.3 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.009868, allocations: 20.86 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.009886, allocations: 0 / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.01002, allocations: 62.2 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.01002, allocations: 0 / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003966/0.01042, allocations: 125.5 kB / 328.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.01047, allocations: 77.11 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01062, allocations: 166.7 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.01063, allocations: 29.7 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.01069, allocations: 92.11 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.01073, allocations: 31.73 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.01077, allocations: 21.7 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01087, allocations: 318.8 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.0109, allocations: 15.19 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.01094, allocations: 56.27 kB / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/0.011, allocations: 48.47 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.011, allocations: 7.938 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.947e-05/0.0111, allocations: 68.5 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01111, allocations: 4 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.01112, allocations: 4 kB / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01113, allocations: 0 / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.0112, allocations: 19.92 kB / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.01121, allocations: 3.938 kB / 329.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.01124, allocations: 4 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.01124, allocations: 4.031 kB / 329.7 MB, free: 3.031 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.836e-05/0.01132, allocations: 123 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.01134, allocations: 11.98 kB / 329.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.01146, allocations: 74.39 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01146, allocations: 0 / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01146, allocations: 0 / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01147, allocations: 0 / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.01172, allocations: 295.4 kB / 330.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01173, allocations: 0 / 330.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.01176, allocations: 12.03 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.01176, allocations: 4 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01177, allocations: 3.984 kB / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01177, allocations: 0 / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01177, allocations: 0 / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.01189, allocations: 223 kB / 330.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.0119, allocations: 3.953 kB / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.01192, allocations: 4 kB / 330.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.01196, allocations: 7.984 kB / 330.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.012, allocations: 4 kB / 330.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01201, allocations: 7.984 kB / 330.4 MB, free: 2.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.01206, allocations: 46.7 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01206, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.01226, allocations: 47.86 kB / 330.5 MB, free: 2.117 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.001806/0.01406, allocations: 0.7167 MB / 331.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.01418, allocations: 44.75 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.01419, allocations: 4 kB / 331.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.01422, allocations: 17.02 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01449, allocations: 43.06 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.01487, allocations: 207.6 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.01491, allocations: 63.34 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.01496, allocations: 25.09 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.01504, allocations: 71.36 kB / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01505, allocations: 0 / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of Templates: time 0.004715/0.01976, allocations: 2.762 MB / 334.4 MB, free: 14.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.1617399509996176]