Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.002172, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006558/0.0006558, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009349/0.001591, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.022/1.022, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1785/1.201, allocations: 52.48 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] 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.1455/0.1455, allocations: 32.81 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02414/0.1697, allocations: 12.53 MB / 284.5 MB, free: 9.703 MB / 282.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.884e-05, allocations: 9.406 kB / 285.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002068/0.002087, allocations: 1.792 MB / 287.7 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003165, allocations: 0.8765 MB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.00324, allocations: 0 / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.003437, allocations: 51.75 kB / 288.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.003598, allocations: 59.59 kB / 288.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.003859, allocations: 115.5 kB / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.004016, allocations: 99.64 kB / 288.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.004098, allocations: 8.172 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.004218, allocations: 79.83 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.004293, allocations: 23.91 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.00431, allocations: 4 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.004394, allocations: 47.86 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.004446, allocations: 15.94 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.004477, allocations: 15.94 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.004636, allocations: 103.6 kB / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.004648, allocations: 0 / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004648, allocations: 0 / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.004658, allocations: 0 / 289.2 MB, free: 5.004 MB / 282.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.0004134/0.005072, allocations: 339.8 kB / 289.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.005104, allocations: 16.02 kB / 289.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.005136, allocations: 12.88 kB / 289.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.00528, allocations: 146.1 kB / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.005295, allocations: 4.375 kB / 289.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.005315, allocations: 384 / 289.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.005437, allocations: 69.75 kB / 289.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005448, allocations: 3.938 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.005455, allocations: 0 / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.005462, allocations: 3.938 kB / 289.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.005487, allocations: 8 kB / 289.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.005689, allocations: 173.8 kB / 290 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.775e-05/0.005777, allocations: 93.33 kB / 290.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.005795, allocations: 8.859 kB / 290.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.005807, allocations: 3.984 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.452e-05/0.005901, allocations: 70.16 kB / 290.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.005903, allocations: 0 / 290.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003249/0.006228, allocations: 113.5 kB / 290.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.006257, allocations: 55.41 kB / 290.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.006375, allocations: 192.2 kB / 290.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.006389, allocations: 33.64 kB / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.006423, allocations: 100.1 kB / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.006451, allocations: 27.77 kB / 290.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.006488, allocations: 17.72 kB / 290.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.006582, allocations: 326.8 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.006601, allocations: 14.81 kB / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.006621, allocations: 17.72 kB / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.006662, allocations: 48.5 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006663, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.955e-05/0.006733, allocations: 76.44 kB / 291.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.006745, allocations: 4 kB / 291.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006749, allocations: 0 / 291.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.006763, allocations: 4 kB / 291.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.006825, allocations: 19.92 kB / 291.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.006829, allocations: 4 kB / 291.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.006854, allocations: 0 / 291.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.006861, allocations: 8 kB / 291.2 MB, free: 2.844 MB / 282.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 5.773e-05/0.006918, allocations: 108.7 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.006932, allocations: 23.95 kB / 291.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/0.007025, allocations: 71.08 kB / 291.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007027, allocations: 4 kB / 291.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.007029, allocations: 0 / 291.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.007034, allocations: 3.984 kB / 291.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.007254, allocations: 295.4 kB / 291.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007256, allocations: 0 / 291.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.007287, allocations: 11.94 kB / 291.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.007301, allocations: 15.89 kB / 291.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.007305, allocations: 4.031 kB / 291.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007311, allocations: 4 kB / 291.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007313, allocations: 0 / 291.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.007314, allocations: 0 / 291.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.007425, allocations: 223.4 kB / 291.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.007441, allocations: 0 / 291.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.007483, allocations: 11.98 kB / 292 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.00751, allocations: 4 kB / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.007523, allocations: 7.984 kB / 292 MB, free: 2.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.007573, allocations: 56.7 kB / 292 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007573, allocations: 0 / 292 MB, free: 1.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.007723, allocations: 27.94 kB / 292.1 MB, free: 1.922 MB / 282.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.001368/0.009091, allocations: 0.6347 MB / 292.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.009185, allocations: 56.75 kB / 292.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.009192, allocations: 4 kB / 292.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.009234, allocations: 28.78 kB / 292.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.009451, allocations: 178.4 kB / 292.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.009866, allocations: 243.5 kB / 293.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.009908, allocations: 71.33 kB / 293.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.00994, allocations: 12.69 kB / 293.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.01, allocations: 67.36 kB / 293.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01, allocations: 0 / 293.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of Templates: time 0.003657/0.01366, allocations: 2.04 MB / 295.4 MB, free: 14.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.940205119550228]