Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.00106/0.00106, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.002684, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009697/0.0009697, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002253, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9572/0.9572, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09144/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.2838/0.2838, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05369/0.3375, allocations: 13.1 MB / 291.5 MB, free: 7.348 MB / 282.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.192e-05, allocations: 4.172 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002003/0.002015, allocations: 1.812 MB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.00319, allocations: 1.014 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.003254, allocations: 3.938 kB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.003416, allocations: 55.62 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.00362, allocations: 99.47 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.003779, allocations: 79.55 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003914, allocations: 107.6 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.376e-05/0.003977, allocations: 15.97 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.004086, allocations: 79.83 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.004146, allocations: 27.89 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.004158, allocations: 4 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.00423, allocations: 47.86 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.004268, allocations: 19.94 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.004296, allocations: 19.88 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.004443, allocations: 99.61 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.004452, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004452, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.004461, allocations: 0 / 296.4 MB, free: 2.629 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.000399/0.00486, allocations: 368.8 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.004889, allocations: 8.031 kB / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.004919, allocations: 4.938 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.005072, allocations: 154.4 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.005087, allocations: 4.375 kB / 296.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.005104, allocations: 384 / 296.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.631e-05/0.0052, allocations: 65.77 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005208, allocations: 3.938 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.005213, allocations: 0 / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.005218, allocations: 0 / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.005243, allocations: 19.92 kB / 297 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.005426, allocations: 165.9 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.005515, allocations: 89.34 kB / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.005533, allocations: 12.84 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.005543, allocations: 0 / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.361e-05/0.005627, allocations: 70.09 kB / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.005628, allocations: 0 / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002524/0.00588, allocations: 113.6 kB / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.005904, allocations: 59.41 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.006007, allocations: 193.6 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.006021, allocations: 29.7 kB / 297.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.006051, allocations: 96.11 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.006076, allocations: 31.72 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.006103, allocations: 17.72 kB / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.006174, allocations: 326.8 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.006189, allocations: 10.83 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.006209, allocations: 25.69 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.006248, allocations: 48.47 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006249, allocations: 0 / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.667e-05/0.006316, allocations: 72.5 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006327, allocations: 11.98 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.00633, allocations: 3.938 kB / 298.4 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.006347, allocations: 3.938 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.006407, allocations: 16 kB / 298.4 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.006411, allocations: 0 / 298.4 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.006436, allocations: 3.984 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.006443, allocations: 8 kB / 298.4 MB, free: 460 kB / 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.499e-05/0.006498, allocations: 124.7 kB / 298.5 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.006521, allocations: 15.92 kB / 298.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/0.006612, allocations: 75.08 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006613, allocations: 0 / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.006615, allocations: 0 / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006618, allocations: 0 / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.006835, allocations: 303.5 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006836, allocations: 0 / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.006861, allocations: 12 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.006873, allocations: 11.91 kB / 298.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006875, allocations: 8.016 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006881, allocations: 4 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006883, allocations: 0 / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.006885, allocations: 3.938 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.006972, allocations: 215 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.006986, allocations: 0 / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.007023, allocations: 7.984 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.007043, allocations: 4 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.00709, allocations: 12.3 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.622e-05/0.007136, allocations: 65.41 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007136, allocations: 4 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.007273, allocations: 23.94 kB / 299.3 MB, free: 15.51 MB / 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.001262/0.008535, allocations: 0.6409 MB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.008622, allocations: 44.77 kB / 300 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.008629, allocations: 4 kB / 300 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.008662, allocations: 28.78 kB / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.008876, allocations: 192.3 kB / 300.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.009353, allocations: 238.6 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.009389, allocations: 71.33 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.009422, allocations: 21.09 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.009483, allocations: 67.36 kB / 300.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009483, allocations: 0 / 300.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Templates: time 0.003439/0.01292, allocations: 2.056 MB / 302.6 MB, free: 12.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.925252230837941]