Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001192/0.001192, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.002975, 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.001108/0.001108, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002659, allocations: 479.5 kB / 11.82 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 1.002/1.002, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09437/1.097, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2597/0.2597, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02362/0.2834, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.445e-05, allocations: 7.719 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003013/0.003027, allocations: 1.929 MB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.004913, allocations: 1.029 MB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.005006, allocations: 8 kB / 295.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.005223, allocations: 71.55 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.005593, allocations: 127.2 kB / 296 MB, free: 3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.006184, allocations: 204.4 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.006517, allocations: 207.3 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.006624, allocations: 26.39 kB / 296.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.006884, allocations: 144.3 kB / 296.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.007038, allocations: 75.83 kB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.007074, allocations: 16 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.007198, allocations: 47.86 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.007289, allocations: 35.86 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.007357, allocations: 35.88 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.007631, allocations: 139.6 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.007645, allocations: 0 / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007646, allocations: 0 / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.007661, allocations: 0 / 296.9 MB, free: 2.086 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009673/0.008629, allocations: 500 kB / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.008668, allocations: 8.031 kB / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.008734, allocations: 16.92 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.008951, allocations: 157.5 kB / 297.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.008967, allocations: 12.38 kB / 297.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.008998, allocations: 8.312 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.009268, allocations: 106.9 kB / 297.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.009283, allocations: 3.938 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.009297, allocations: 0 / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.009305, allocations: 0 / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.009391, allocations: 25.89 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.009947, allocations: 219 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.01011, allocations: 54.55 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.01017, allocations: 20.84 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.01021, allocations: 7.938 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.01041, allocations: 87.27 kB / 298.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 3.015e-06/0.01041, allocations: 3.984 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.00088/0.01129, allocations: 254.5 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.01133, allocations: 63.34 kB / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.01152, allocations: 210.6 kB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.01155, allocations: 29.7 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.01161, allocations: 112.5 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.01165, allocations: 35.69 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.01174, allocations: 37.77 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01184, allocations: 330.7 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.01194, allocations: 75.5 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.01203, allocations: 79.33 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.01217, allocations: 122.1 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01217, allocations: 0 / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002438/0.01242, allocations: 212.3 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.01247, allocations: 63.39 kB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01247, allocations: 0 / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01249, allocations: 0 / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.01272, allocations: 55.95 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01273, allocations: 3.984 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.01291, allocations: 39.95 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.01293, allocations: 8 kB / 299.8 MB, free: 14.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001126/0.01304, allocations: 121.3 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.01308, allocations: 19.92 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.01331, allocations: 113.3 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01331, allocations: 4 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01331, allocations: 0 / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01332, allocations: 0 / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.01369, allocations: 278.5 kB / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01369, allocations: 4 kB / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.01388, allocations: 43.95 kB / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.01391, allocations: 15.91 kB / 300.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01392, allocations: 0 / 300.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01393, allocations: 3.984 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01394, allocations: 0 / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01394, allocations: 0 / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.01416, allocations: 191.3 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.01419, allocations: 7.922 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.0144, allocations: 43.95 kB / 300.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.01453, allocations: 43.92 kB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.01454, allocations: 0 / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.212e-05/0.01464, allocations: 74.23 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01464, allocations: 0 / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.01491, allocations: 40 kB / 300.8 MB, free: 13.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001687/0.0166, allocations: 0.5643 MB / 301.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.0169, allocations: 242.3 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.01692, allocations: 4 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.01704, allocations: 56.7 kB / 301.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.01744, allocations: 333.5 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/0.01829, allocations: 329.8 kB / 302.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.01836, allocations: 75.83 kB / 302.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.01849, allocations: 21.47 kB / 302.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.01868, allocations: 87.34 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01868, allocations: 0 / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of Templates: time 0.007664/0.02634, allocations: 3.883 MB / 306.4 MB, free: 8.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.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.8930748039856553]