Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001335/0.001335, allocations: 80.8 kB / 21.49 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.001239/0.001239, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.2426/0.2426, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.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.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.Test20,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.353e-05, allocations: 2.312 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002741/0.002764, allocations: 2.017 MB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004131, allocations: 1.027 MB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.004235, allocations: 0 / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.004634, allocations: 263 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.005046, allocations: 263 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.005776, allocations: 482.7 kB / 327.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.006133, allocations: 335 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.006287, allocations: 50.84 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.006459, allocations: 175.5 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.006643, allocations: 171.6 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.006668, allocations: 12 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.0068, allocations: 79.78 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.006903, allocations: 99.61 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.006948, allocations: 51.72 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.00723, allocations: 246.9 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.007234, allocations: 0 / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007235, allocations: 0 / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.00724, allocations: 0 / 328.5 MB, free: 4.434 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.0004962/0.007736, allocations: 0.5579 MB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.007772, allocations: 11.98 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.00782, allocations: 32.91 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.008054, allocations: 251.9 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.008067, allocations: 12.38 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.008094, allocations: 12.38 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.00823, allocations: 95.55 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.008242, allocations: 12.06 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.008254, allocations: 8.125 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.008261, allocations: 4 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.008303, allocations: 29.89 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.008647, allocations: 266.8 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.008727, allocations: 54.53 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.008751, allocations: 25.72 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.008776, allocations: 4 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.008797, allocations: 38.72 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.008799, allocations: 3.938 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004191/0.009218, allocations: 203.1 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.009249, allocations: 55.41 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.009514, allocations: 404.9 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.009529, allocations: 29.7 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.009594, allocations: 153.7 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.009633, allocations: 55.53 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.009671, allocations: 33.64 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.009772, allocations: 358.7 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.009796, allocations: 12 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.00982, allocations: 22.33 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.009882, allocations: 52.81 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009884, allocations: 0 / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001158/0.01, allocations: 104.4 kB / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01002, allocations: 11.98 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01002, allocations: 0 / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01004, allocations: 3.938 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.01014, allocations: 35.86 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.01014, allocations: 3.984 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.01017, allocations: 15.94 kB / 331.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.01018, allocations: 0 / 331.4 MB, free: 1.355 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: 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 8.333e-05/0.01026, allocations: 128.6 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.0103, allocations: 23.98 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.01054, allocations: 145.5 kB / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.01054, allocations: 7.938 kB / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.01055, allocations: 0 / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01055, allocations: 3.984 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.01092, allocations: 366.4 kB / 332 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01093, allocations: 4 kB / 332 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.01099, allocations: 31.92 kB / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01099, allocations: 0 / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.011, allocations: 7.938 kB / 332.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.011, allocations: 0 / 332.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.011, allocations: 0 / 332.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.01113, allocations: 200.6 kB / 332.3 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.01115, allocations: 31.7 kB / 332.3 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01117, allocations: 4 kB / 332.3 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.01121, allocations: 4 kB / 332.3 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.01124, allocations: 19.97 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.01125, allocations: 0 / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.01138, allocations: 187.5 kB / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01138, allocations: 0 / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.01156, allocations: 51.92 kB / 332.6 MB, free: 96 kB / 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: 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.002202/0.01376, allocations: 0.9258 MB / 333.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.01391, allocations: 76.66 kB / 333.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.01392, allocations: 4 kB / 333.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.01395, allocations: 44.77 kB / 333.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01424, allocations: 78.47 kB / 333.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.0149, allocations: 0.5734 MB / 334.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.918e-05/0.01497, allocations: 108.3 kB / 334.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.609e-05/0.01506, allocations: 49.89 kB / 334.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.01516, allocations: 91.34 kB / 334.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01516, allocations: 4 kB / 334.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of Templates: time 0.006006/0.02117, allocations: 3.657 MB / 338.2 MB, free: 10.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.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.9604017650708556]