Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001454/0.001454, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001656/0.001656, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.52/1.52, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2204/0.2204, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [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.002374/0.002374, allocations: 68.17 kB / 0.4943 GB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.352, allocations: 65.47 MB / 0.5583 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003522/0.3555, allocations: 1.725 MB / 0.56 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.3575, allocations: 0.9755 MB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.3576, allocations: 0 / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.358, allocations: 91.69 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.3583, allocations: 119.5 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.3585, allocations: 83.66 kB / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.3587, allocations: 123.7 kB / 0.5613 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3589, allocations: 15.97 kB / 0.5613 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.359, allocations: 59.77 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3591, allocations: 71.69 kB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3591, allocations: 4 kB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3592, allocations: 63.97 kB / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.3593, allocations: 27.91 kB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.3593, allocations: 27.75 kB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.3596, allocations: 149.8 kB / 0.5617 GB, free: 3.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3596, allocations: 0 / 0.5617 GB, free: 3.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3596, allocations: 0 / 0.5617 GB, free: 3.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3596, allocations: 0 / 0.5617 GB, free: 3.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006131/0.3602, allocations: 377.3 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3603, allocations: 16.03 kB / 0.5621 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.3603, allocations: 12.84 kB / 0.5621 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3606, allocations: 163.1 kB / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3606, allocations: 384 / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.3607, allocations: 8.125 kB / 0.5623 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3608, allocations: 65.59 kB / 0.5623 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3608, allocations: 0 / 0.5623 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3609, allocations: 4 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3609, allocations: 3.938 kB / 0.5623 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.361, allocations: 27.92 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.3614, allocations: 252.4 kB / 0.5626 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3616, allocations: 58.55 kB / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.3617, allocations: 16.98 kB / 0.5627 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3617, allocations: 7.984 kB / 0.5627 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.3619, allocations: 75.39 kB / 0.5627 GB, free: 2.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 5.26e-06/0.3619, allocations: 3.984 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007937/0.3627, allocations: 249.5 kB / 0.563 GB, free: 2.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.3627, allocations: 55.41 kB / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.363, allocations: 242.9 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.363, allocations: 25.7 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.3631, allocations: 120 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.3632, allocations: 35.72 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.3632, allocations: 33.7 kB / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3634, allocations: 326.8 kB / 0.5638 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.3635, allocations: 27.98 kB / 0.5638 GB, free: 1.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.3636, allocations: 41.7 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3637, allocations: 93.58 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3637, allocations: 0 / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002381/0.364, allocations: 129.5 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.364, allocations: 8 kB / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.364, allocations: 0 / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.364, allocations: 0 / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.3641, allocations: 23.98 kB / 0.5641 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3641, allocations: 4 kB / 0.5641 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.3642, allocations: 7.938 kB / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3642, allocations: 4 kB / 0.5641 GB, free: 1.141 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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.0001259/0.3643, allocations: 137.8 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3643, allocations: 15.91 kB / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.3647, allocations: 158.9 kB / 0.5644 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3647, allocations: 0 / 0.5644 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3647, allocations: 0 / 0.5644 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3647, allocations: 3.938 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005689/0.3652, allocations: 395.7 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3652, allocations: 0 / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.3653, allocations: 16.06 kB / 0.5648 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3653, allocations: 11.92 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3653, allocations: 11.94 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3653, allocations: 0 / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3653, allocations: 0 / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.3656, allocations: 245.1 kB / 0.5651 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.3657, allocations: 11.91 kB / 0.5651 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3657, allocations: 3.938 kB / 0.5651 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.3658, allocations: 8 kB / 0.5651 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3658, allocations: 11.92 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3658, allocations: 11.98 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.366, allocations: 175.2 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.366, allocations: 0 / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3663, allocations: 31.92 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002147/0.3685, allocations: 0.5505 MB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3687, allocations: 75.91 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3687, allocations: 4 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.744e-05/0.3688, allocations: 44.09 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3692, allocations: 46.67 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.3699, allocations: 318.1 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.37, allocations: 105.8 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.37, allocations: 19.42 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.37, allocations: 4 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004937/0.375, allocations: 2.301 MB / 0.5687 GB, free: 12.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.177488947752863]