Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0008922/0.0008922, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.00216, 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.0008358/0.0008358, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001915, 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.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09021/1.115, 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.2991/0.2991, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02374/0.3228, allocations: 13.1 MB / 291.5 MB, free: 7.324 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.32e-05, allocations: 3.406 kB / 292.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003643/0.003667, allocations: 1.924 MB / 294.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.00541, allocations: 1.017 MB / 295.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.005503, allocations: 0 / 295.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.005764, allocations: 59.69 kB / 295.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.00616, allocations: 131.2 kB / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.006658, allocations: 171.4 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.006979, allocations: 191.4 kB / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.007094, allocations: 18.45 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.007374, allocations: 144.3 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.00753, allocations: 79.77 kB / 296.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.007559, allocations: 12 kB / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.007695, allocations: 43.94 kB / 296.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.007785, allocations: 31.86 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.007843, allocations: 35.92 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.008124, allocations: 139.5 kB / 296.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.008142, allocations: 11.92 kB / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.008145, allocations: 0 / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.008158, allocations: 0 / 296.9 MB, free: 2.156 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.000916/0.009074, allocations: 488.1 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.009107, allocations: 12.03 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.009157, allocations: 12.92 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.009328, allocations: 169.4 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.009338, allocations: 384 / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.009361, allocations: 8.375 kB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.009544, allocations: 111.8 kB / 297.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.009554, allocations: 3.938 kB / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.009565, allocations: 7.984 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.009571, allocations: 0 / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.009615, allocations: 12 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.009859, allocations: 188.1 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.009959, allocations: 50.55 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.009988, allocations: 16.86 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.01002, allocations: 15.92 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.01016, allocations: 97.47 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.01016, allocations: 0 / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006014/0.01077, allocations: 241.3 kB / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.0108, allocations: 63.39 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.01092, allocations: 213.6 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.01094, allocations: 29.7 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.01097, allocations: 104.6 kB / 298.7 MB, free: 208 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.011, allocations: 39.67 kB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.01105, allocations: 41.62 kB / 298.7 MB, free: 120 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.01113, allocations: 330.8 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.01119, allocations: 71.39 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.01124, allocations: 75.39 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.01134, allocations: 109.1 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.01134, allocations: 4 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001538/0.01149, allocations: 209.9 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.01153, allocations: 67.39 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01153, allocations: 0 / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.01154, allocations: 0 / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.01169, allocations: 59.89 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.0117, allocations: 0 / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01181, allocations: 39.95 kB / 299.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01182, allocations: 8 kB / 299.7 MB, free: 15.07 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 7.877e-05/0.0119, allocations: 129.2 kB / 299.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.01192, allocations: 11.98 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.01208, allocations: 121.9 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01208, allocations: 0 / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01208, allocations: 0 / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01209, allocations: 0 / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.01233, allocations: 278.7 kB / 300.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01233, allocations: 0 / 300.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01244, allocations: 47.89 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.01246, allocations: 15.91 kB / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.01246, allocations: 0 / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01247, allocations: 11.98 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01247, allocations: 0 / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01248, allocations: 0 / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.0126, allocations: 183.3 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01263, allocations: 8 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01274, allocations: 31.95 kB / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.01282, allocations: 43.92 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01283, allocations: 11.98 kB / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.01288, allocations: 73.77 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01288, allocations: 0 / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.01305, allocations: 43.94 kB / 300.7 MB, free: 14.02 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.00119/0.01424, allocations: 0.5614 MB / 301.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.01445, allocations: 239 kB / 301.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.01446, allocations: 4 kB / 301.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.01453, allocations: 52.83 kB / 301.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.0148, allocations: 317.7 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.01539, allocations: 327.1 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.01543, allocations: 71.83 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.647e-05/0.0155, allocations: 33.45 kB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.01563, allocations: 87.34 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01563, allocations: 0 / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of Templates: time 0.004952/0.02058, allocations: 3.848 MB / 306.2 MB, free: 8.699 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 3.032080461271107]