Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.00136/0.00136, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001519/0.001519, allocations: 209 kB / 24.47 MB, free: 3.941 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2216/0.2216, allocations: 44.94 MB / 359.6 MB, free: 6.047 MB / 286.1 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.91 kB / 0.4943 GB, free: 9.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3555, allocations: 65.47 MB / 0.5583 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003885/0.3594, allocations: 1.872 MB / 0.5601 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3617, allocations: 1.081 MB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3618, allocations: 3.938 kB / 0.5612 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.3624, allocations: 259.3 kB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.3629, allocations: 227.2 kB / 0.5616 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.3632, allocations: 119.7 kB / 0.5617 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.3635, allocations: 283.2 kB / 0.562 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3636, allocations: 13.97 kB / 0.562 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3638, allocations: 135.5 kB / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.3641, allocations: 207.3 kB / 0.5623 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.3641, allocations: 8 kB / 0.5623 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.3642, allocations: 67.97 kB / 0.5624 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.3643, allocations: 63.77 kB / 0.5625 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.3644, allocations: 75.41 kB / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.3648, allocations: 265.1 kB / 0.5628 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3648, allocations: 0 / 0.5628 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3648, allocations: 0 / 0.5628 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3648, allocations: 0 / 0.5628 GB, free: 2.797 MB / 398.1 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.0008741/0.3657, allocations: 0.5196 MB / 0.5633 GB, free: 2.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3657, allocations: 12.03 kB / 0.5633 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.3658, allocations: 28.75 kB / 0.5633 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3662, allocations: 236.8 kB / 0.5636 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3662, allocations: 8.375 kB / 0.5636 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.3663, allocations: 8.125 kB / 0.5636 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.3666, allocations: 107.3 kB / 0.5637 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.3666, allocations: 7.984 kB / 0.5637 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3666, allocations: 4 kB / 0.5637 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3666, allocations: 0 / 0.5637 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.3667, allocations: 51.91 kB / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.3674, allocations: 424.5 kB / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.3678, allocations: 125.2 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3679, allocations: 45.81 kB / 0.5643 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3679, allocations: 4 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.3681, allocations: 125 kB / 0.5644 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.3681, allocations: 0 / 0.5644 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001365/0.3695, allocations: 0.528 MB / 0.565 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.3696, allocations: 85.05 kB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.3701, allocations: 0.5015 MB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3701, allocations: 33.7 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3703, allocations: 168.5 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.3704, allocations: 75.41 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.3704, allocations: 41.7 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3706, allocations: 354.7 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3707, allocations: 59.97 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3709, allocations: 91.34 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.3712, allocations: 167.3 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3712, allocations: 4 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004275/0.3716, allocations: 245.5 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3716, allocations: 4 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3716, allocations: 7.938 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3717, allocations: 0 / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3718, allocations: 51.97 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3718, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.3719, allocations: 8 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3719, allocations: 8 kB / 0.5668 GB, free: 14.47 MB / 414.1 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 0.0001765/0.3721, allocations: 174.3 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.3722, allocations: 39.75 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005597/0.3727, allocations: 289.2 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3727, allocations: 4 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3727, allocations: 4 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3727, allocations: 4 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009938/0.3737, allocations: 0.6839 MB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3737, allocations: 3.984 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.3738, allocations: 28 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3738, allocations: 0 / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3738, allocations: 15.98 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3739, allocations: 3.938 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3739, allocations: 7.938 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.3744, allocations: 453.5 kB / 0.5684 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.3744, allocations: 31.81 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.3745, allocations: 15.92 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3746, allocations: 8 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.3747, allocations: 19.91 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.3747, allocations: 15.98 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004029/0.3751, allocations: 379.1 kB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3751, allocations: 0 / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.3755, allocations: 47.94 kB / 0.5689 GB, free: 12.18 MB / 414.1 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.002156/0.3777, allocations: 0.5583 MB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.378, allocations: 155.8 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.378, allocations: 0 / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.3782, allocations: 83.83 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.3788, allocations: 63.39 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3798, allocations: 0.6501 MB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.38, allocations: 182.4 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.3801, allocations: 31.42 kB / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3801, allocations: 0 / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Templates: time 0.006899/0.387, allocations: 3.995 MB / 0.5745 GB, free: 6.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.27518466161564]