Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00592/0.00592, allocations: 105.4 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.93 MB / 362.3 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 79.86 kB / 0.4983 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3478, allocations: 66.09 MB / 0.5628 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003689/0.3515, allocations: 1.94 MB / 0.5647 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.3538, allocations: 1.154 MB / 0.5658 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3539, allocations: 7.938 kB / 0.5658 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.3544, allocations: 219.4 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.355, allocations: 223.2 kB / 0.5663 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.3553, allocations: 115.6 kB / 0.5664 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.3558, allocations: 263.3 kB / 0.5666 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3559, allocations: 17.91 kB / 0.5666 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.3561, allocations: 131.5 kB / 0.5668 GB, free: 152 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.3564, allocations: 175.4 kB / 0.5669 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.3565, allocations: 8 kB / 0.5669 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3566, allocations: 63.98 kB / 0.567 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.3567, allocations: 59.75 kB / 0.5671 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3568, allocations: 95.23 kB / 0.5671 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.3572, allocations: 249.2 kB / 0.5674 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3572, allocations: 0 / 0.5674 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3572, allocations: 0 / 0.5674 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3572, allocations: 0 / 0.5674 GB, free: 15.52 MB / 414.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.000766/0.358, allocations: 0.5041 MB / 0.5679 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.358, allocations: 8.031 kB / 0.5679 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.671e-05/0.3581, allocations: 28.75 kB / 0.5679 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.3585, allocations: 234.5 kB / 0.5681 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3585, allocations: 384 / 0.5681 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3586, allocations: 12.38 kB / 0.5681 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.3588, allocations: 115.6 kB / 0.5683 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3588, allocations: 0 / 0.5683 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3588, allocations: 7.984 kB / 0.5683 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3588, allocations: 4 kB / 0.5683 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.359, allocations: 47.95 kB / 0.5683 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.3596, allocations: 447.8 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.3599, allocations: 125.2 kB / 0.5689 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.36, allocations: 37.83 kB / 0.5689 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3601, allocations: 4 kB / 0.5689 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.3603, allocations: 113.1 kB / 0.569 GB, free: 13.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3603, allocations: 0 / 0.569 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001262/0.3615, allocations: 0.5131 MB / 0.5695 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.3616, allocations: 85.11 kB / 0.5696 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.3621, allocations: 444.5 kB / 0.57 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3621, allocations: 33.7 kB / 0.57 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3622, allocations: 164.5 kB / 0.5702 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.3623, allocations: 71.42 kB / 0.5703 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.3623, allocations: 45.7 kB / 0.5703 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3625, allocations: 342.8 kB / 0.5706 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3626, allocations: 59.97 kB / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3628, allocations: 96.22 kB / 0.5708 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.3631, allocations: 159.5 kB / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3631, allocations: 0 / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003972/0.3635, allocations: 237.3 kB / 0.5712 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3635, allocations: 6.188 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3635, allocations: 4.062 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3635, allocations: 7.938 kB / 0.5712 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3636, allocations: 39.92 kB / 0.5712 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3636, allocations: 7.984 kB / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.3637, allocations: 11.95 kB / 0.5712 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3637, allocations: 12 kB / 0.5713 GB, free: 11.3 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.0001643/0.3639, allocations: 165.7 kB / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.364, allocations: 31.81 kB / 0.5714 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.3645, allocations: 264.5 kB / 0.5717 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3645, allocations: 4 kB / 0.5717 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3645, allocations: 3.938 kB / 0.5717 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3645, allocations: 3.984 kB / 0.5717 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.3654, allocations: 0.699 MB / 0.5724 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3654, allocations: 0 / 0.5724 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.3655, allocations: 35.92 kB / 0.5724 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3655, allocations: 4 kB / 0.5724 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3655, allocations: 4.188 kB / 0.5724 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.3655, allocations: 7.984 kB / 0.5724 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3655, allocations: 3.938 kB / 0.5724 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.366, allocations: 430 kB / 0.5729 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.3661, allocations: 31.75 kB / 0.5729 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.3661, allocations: 8 kB / 0.5729 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3663, allocations: 4 kB / 0.5729 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.3663, allocations: 27.91 kB / 0.5729 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.3663, allocations: 19.92 kB / 0.5729 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.3667, allocations: 335 kB / 0.5733 GB, free: 9.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3667, allocations: 0 / 0.5733 GB, free: 9.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.367, allocations: 47.94 kB / 0.5733 GB, free: 9.09 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 (22): * Single equations (assignments): 18 * 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.00189/0.3689, allocations: 0.5086 MB / 0.5738 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.3693, allocations: 144 kB / 0.5739 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3693, allocations: 7.938 kB / 0.5739 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3694, allocations: 75.78 kB / 0.574 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.37, allocations: 65.53 kB / 0.5741 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.3709, allocations: 0.592 MB / 0.5747 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3713, allocations: 0.7714 MB / 0.5754 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.3714, allocations: 31.44 kB / 0.5754 GB, free: 7.004 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3714, allocations: 0 / 0.5754 GB, free: 7.004 MB / 414.1 MB Notification: Performance of Templates: time 0.006978/0.3783, allocations: 3.771 MB / 0.5791 GB, free: 3.242 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.072875522077084]