Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001039/0.001039, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001081/0.001081, allocations: 174.3 kB / 24.91 MB, free: 8.777 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.9137/0.9137, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2342/0.2342, allocations: 34.27 MB / 296.1 MB, free: 0.6953 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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.506e-05, allocations: 4.844 kB / 325.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00347/0.003495, allocations: 2.02 MB / 327.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.005301, allocations: 1.036 MB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.005396, allocations: 0 / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.005866, allocations: 262.9 kB / 328.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.006381, allocations: 259 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.007285, allocations: 474.8 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.007686, allocations: 343 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.00784, allocations: 51.45 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.008061, allocations: 183.4 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.008264, allocations: 167.6 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.008292, allocations: 12 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.008458, allocations: 103.8 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.00858, allocations: 99.59 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.008638, allocations: 55.72 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.008967, allocations: 258.8 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.008972, allocations: 7.984 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008973, allocations: 0 / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.008977, allocations: 0 / 330.5 MB, free: 2.422 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006079/0.009585, allocations: 0.5619 MB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.009617, allocations: 12.03 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.009675, allocations: 28.91 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.009967, allocations: 259.9 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.009982, allocations: 8.375 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.01001, allocations: 12.38 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.01016, allocations: 94.88 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01018, allocations: 4.141 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.01019, allocations: 12.12 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.01019, allocations: 4 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.01025, allocations: 23.98 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.01069, allocations: 270.7 kB / 331.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.01079, allocations: 58.48 kB / 331.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.01082, allocations: 21.83 kB / 331.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.01085, allocations: 4 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.01087, allocations: 30.56 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.01087, allocations: 0 / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005202/0.01139, allocations: 223.2 kB / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.01143, allocations: 59.41 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.01178, allocations: 397 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.0118, allocations: 33.7 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.01188, allocations: 145.7 kB / 332.8 MB, free: 56 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.01194, allocations: 63.52 kB / 332.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.01199, allocations: 29.64 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.0121, allocations: 350.7 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.01214, allocations: 19.98 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.01217, allocations: 14.34 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.569e-05/0.01225, allocations: 60.8 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01225, allocations: 4 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001531/0.01241, allocations: 107.4 kB / 333.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01242, allocations: 8 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.01242, allocations: 0 / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01244, allocations: 3.938 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.01256, allocations: 27.98 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01256, allocations: 0 / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.01261, allocations: 8 kB / 333.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.01262, allocations: 0 / 333.4 MB, free: 15.35 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.339e-05/0.01272, allocations: 132.6 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.01277, allocations: 23.98 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.01302, allocations: 153.5 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.01302, allocations: 3.938 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01302, allocations: 0 / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01303, allocations: 3.984 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.01351, allocations: 368.4 kB / 334.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01351, allocations: 0 / 334.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.01361, allocations: 31.92 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01361, allocations: 0 / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.01362, allocations: 8 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01363, allocations: 0 / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01363, allocations: 7.984 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.0138, allocations: 197.9 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.01383, allocations: 31.7 kB / 334.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.01386, allocations: 8 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.01394, allocations: 3.984 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.01397, allocations: 11.98 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01398, allocations: 4 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.01419, allocations: 187.5 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.01419, allocations: 0 / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.01446, allocations: 55.92 kB / 334.6 MB, free: 14.08 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.002773/0.01724, allocations: 0.9179 MB / 335.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.01739, allocations: 75.48 kB / 335.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.01739, allocations: 4 kB / 335.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.01745, allocations: 48.7 kB / 335.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.01784, allocations: 88.81 kB / 335.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.01865, allocations: 0.5704 MB / 336.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.01874, allocations: 108.3 kB / 336.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.01886, allocations: 41.91 kB / 336.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.01901, allocations: 103.3 kB / 336.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01901, allocations: 0 / 336.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of Templates: time 0.00771/0.02672, allocations: 3.657 MB / 340.3 MB, free: 8.965 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.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.8413995071314275]