Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.00129/0.00129, allocations: 80.92 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.00147/0.00147, allocations: 168.2 kB / 24.91 MB, free: 9.152 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.9342/0.9342, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3028/0.3028, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.805e-05, allocations: 3.188 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002984/0.003002, allocations: 1.93 MB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.004792, allocations: 1.111 MB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.004898, allocations: 3.938 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.005271, allocations: 159.3 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.005731, allocations: 191.2 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.006016, allocations: 119.5 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.006327, allocations: 263.2 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.006418, allocations: 14.62 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.006598, allocations: 135.7 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.006758, allocations: 119.6 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.00678, allocations: 8 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.006904, allocations: 63.92 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.006977, allocations: 55.77 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.007037, allocations: 44.3 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.007354, allocations: 179.3 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.007356, allocations: 7.938 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007357, allocations: 0 / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.00736, allocations: 0 / 329.7 MB, free: 3.207 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00053/0.00789, allocations: 448.5 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.007922, allocations: 8.031 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.007972, allocations: 24.91 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.008217, allocations: 209.8 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.008236, allocations: 4.375 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.008262, allocations: 8.375 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.008435, allocations: 119.3 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.008449, allocations: 7.938 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.008459, allocations: 0 / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.008465, allocations: 0 / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.008522, allocations: 29.58 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.008854, allocations: 296.9 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.009037, allocations: 178.6 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.009069, allocations: 37.89 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.009079, allocations: 4 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.009181, allocations: 115.8 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.009181, allocations: 0 / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006554/0.009837, allocations: 309 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.009871, allocations: 85.11 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.01004, allocations: 288.6 kB / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01006, allocations: 29.7 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.0101, allocations: 125.2 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.01014, allocations: 67.41 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.01018, allocations: 53.61 kB / 332.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.01025, allocations: 338.7 kB / 332.4 MB, free: 280 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.01028, allocations: 30.75 kB / 332.5 MB, free: 248 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.01032, allocations: 55.39 kB / 332.5 MB, free: 180 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.0104, allocations: 104 kB / 332.6 MB, free: 64 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0104, allocations: 4 kB / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001325/0.01054, allocations: 135.2 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.01055, allocations: 4 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01055, allocations: 7.984 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.01056, allocations: 0 / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.01064, allocations: 43.92 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01064, allocations: 0 / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.01068, allocations: 7.938 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.01069, allocations: 11.98 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.752e-05/0.01077, allocations: 128.6 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.01079, allocations: 28.03 kB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.01096, allocations: 161.8 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.01096, allocations: 0 / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01096, allocations: 4 kB / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.01096, allocations: 0 / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.01131, allocations: 0.5477 MB / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01131, allocations: 4 kB / 333.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.01136, allocations: 32.05 kB / 333.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01137, allocations: 7.938 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01138, allocations: 15.97 kB / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01138, allocations: 4 kB / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01138, allocations: 0 / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.01156, allocations: 404.8 kB / 334.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.01158, allocations: 27.75 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.0116, allocations: 11.98 kB / 334.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.01168, allocations: 8 kB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.01171, allocations: 19.91 kB / 334.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01173, allocations: 16 kB / 334.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.01181, allocations: 123.4 kB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01181, allocations: 0 / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.012, allocations: 51.94 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001221/0.01322, allocations: 0.6567 MB / 335.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.01336, allocations: 104.5 kB / 335.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000277/0.01364, allocations: 4.125 kB / 335.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.01369, allocations: 64.7 kB / 335.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01395, allocations: 68.73 kB / 335.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.01438, allocations: 459.9 kB / 335.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01443, allocations: 92.33 kB / 335.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.481e-05/0.0145, allocations: 46.09 kB / 335.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.0146, allocations: 99.34 kB / 336 MB, free: 12.88 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0146, allocations: 0 / 336 MB, free: 12.88 MB / 314.7 MB Notification: Performance of Templates: time 0.004758/0.01935, allocations: 3.619 MB / 339.6 MB, free: 9.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.9084037179127336]