Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001009/0.001009, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009817/0.0009817, allocations: 169.3 kB / 24.91 MB, free: 9.207 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.9854/0.9854, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.25/0.25, allocations: 34.26 MB / 296.1 MB, free: 0.707 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.53e-05, allocations: 7.016 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003864/0.0039, allocations: 1.77 MB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.006607, allocations: 1.738 MB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.006706, allocations: 0 / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.007016, allocations: 35.77 kB / 328.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.007431, allocations: 107.4 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.007687, allocations: 83.59 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.007878, allocations: 107.7 kB / 329.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.007967, allocations: 7.984 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.008091, allocations: 55.78 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.00822, allocations: 35.89 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.008241, allocations: 12 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.008438, allocations: 107.7 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.008489, allocations: 15.94 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.008536, allocations: 28.41 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.008799, allocations: 155.5 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.008802, allocations: 0 / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008803, allocations: 0 / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.008806, allocations: 0 / 329.6 MB, free: 3.336 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.0003859/0.009192, allocations: 333.5 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.009222, allocations: 8.031 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.009256, allocations: 12.94 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.009416, allocations: 149.2 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.00943, allocations: 4.312 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.009449, allocations: 4.375 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.009591, allocations: 104.6 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.009601, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.009609, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.009614, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.009641, allocations: 14.81 kB / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.009839, allocations: 165.9 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.474e-05/0.009924, allocations: 93.3 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.009945, allocations: 16.8 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.009955, allocations: 0 / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.011e-05/0.01004, allocations: 70.19 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.01004, allocations: 0 / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002761/0.01031, allocations: 109.7 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.01035, allocations: 81.05 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.01045, allocations: 159.7 kB / 330.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.01047, allocations: 37.7 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.0105, allocations: 92.11 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.01053, allocations: 27.73 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.01056, allocations: 21.7 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.01065, allocations: 322.8 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.01067, allocations: 18.77 kB / 331.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.01071, allocations: 60.25 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.811e-05/0.01077, allocations: 44.45 kB / 331.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01077, allocations: 0 / 331.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.37e-05/0.01085, allocations: 72.47 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.01086, allocations: 4 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01087, allocations: 4 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01088, allocations: 0 / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.01094, allocations: 15.98 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.01094, allocations: 3.938 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.01098, allocations: 8 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.01098, allocations: 0 / 331.6 MB, free: 1.117 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 6.982e-05/0.01105, allocations: 120.6 kB / 331.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.01106, allocations: 11.98 kB / 331.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.01116, allocations: 74.42 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01116, allocations: 3.984 kB / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01116, allocations: 0 / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01117, allocations: 0 / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.01139, allocations: 291.6 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01139, allocations: 0 / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.01141, allocations: 11.98 kB / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01142, allocations: 3.984 kB / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.01142, allocations: 4 kB / 332.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01142, allocations: 80 / 332.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01143, allocations: 8.016 kB / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.01159, allocations: 219 kB / 332.3 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.01161, allocations: 7.953 kB / 332.3 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01163, allocations: 11.98 kB / 332.3 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.01168, allocations: 0 / 332.3 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.0117, allocations: 11.92 kB / 332.3 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01171, allocations: 4 kB / 332.4 MB, free: 292 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.01175, allocations: 41.89 kB / 332.4 MB, free: 248 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01175, allocations: 0 / 332.4 MB, free: 248 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.01193, allocations: 47.86 kB / 332.4 MB, free: 200 kB / 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.001397/0.01333, allocations: 0.7105 MB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.38e-05/0.01342, allocations: 40.83 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01342, allocations: 0 / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.01346, allocations: 28.92 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.01363, allocations: 35.92 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.01391, allocations: 207.7 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.01395, allocations: 63.34 kB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.01399, allocations: 17.22 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.01406, allocations: 75.36 kB / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01407, allocations: 0 / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of Templates: time 0.003873/0.01794, allocations: 2.767 MB / 336.4 MB, free: 12.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9912039362825453]