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.001408/0.001408, 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.001828/0.001828, 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2578/0.2578, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.703e-06/1.703e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.689e-05, allocations: 4.422 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004088/0.004115, allocations: 2.057 MB / 325.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.006213, allocations: 1.035 MB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.006343, allocations: 4 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.006894, allocations: 259 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.007453, allocations: 258.9 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.008533, allocations: 478.8 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.009015, allocations: 331.1 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.009201, allocations: 50.84 kB / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.009494, allocations: 179.4 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.009771, allocations: 175.5 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.009813, allocations: 16 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.009971, allocations: 71.84 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.0101, allocations: 95.67 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.01017, allocations: 59.66 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.01054, allocations: 246.9 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01055, allocations: 0 / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01055, allocations: 0 / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.01056, allocations: 0 / 328.5 MB, free: 4.336 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.0006816/0.01124, allocations: 0.5579 MB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.01128, allocations: 11.98 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.01135, allocations: 28.91 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.01169, allocations: 259.9 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.0117, allocations: 8.375 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.01173, allocations: 12.38 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.01191, allocations: 95.56 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01192, allocations: 8.125 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.01194, allocations: 4.125 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.01194, allocations: 4 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.01201, allocations: 29.89 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.0125, allocations: 266.7 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.01261, allocations: 66.47 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.01265, allocations: 17.73 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.01268, allocations: 3.984 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.0127, allocations: 34.56 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 3.677e-06/0.01271, allocations: 3.984 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006068/0.01331, allocations: 217.4 kB / 330.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.01335, allocations: 51.41 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.01377, allocations: 400.9 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.01379, allocations: 29.7 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.01388, allocations: 153.9 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.01394, allocations: 59.53 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.014, allocations: 37.62 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01412, allocations: 350.7 kB / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.01415, allocations: 12 kB / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.01419, allocations: 19.98 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.01428, allocations: 67.55 kB / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01429, allocations: 0 / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001571/0.01444, allocations: 97.56 kB / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.01446, allocations: 4 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.01447, allocations: 7.984 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.01449, allocations: 3.938 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.01463, allocations: 35.92 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.01463, allocations: 0 / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.01469, allocations: 15.94 kB / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.0147, allocations: 4 kB / 331.5 MB, free: 1.254 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 0.0001025/0.0148, allocations: 116.7 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.01486, allocations: 23.98 kB / 331.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.01515, allocations: 149.5 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01515, allocations: 3.938 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01515, allocations: 0 / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01516, allocations: 7.984 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.0157, allocations: 367.5 kB / 332.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.01571, allocations: 0 / 332.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.01582, allocations: 31.92 kB / 332.2 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01583, allocations: 0 / 332.2 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01584, allocations: 11.98 kB / 332.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01584, allocations: 0 / 332.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01584, allocations: 0 / 332.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.01605, allocations: 196.8 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.01608, allocations: 39.7 kB / 332.4 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.01611, allocations: 4 kB / 332.4 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.0162, allocations: 11.98 kB / 332.4 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.01624, allocations: 7.984 kB / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.01625, allocations: 0 / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.01649, allocations: 187.5 kB / 332.6 MB, free: 52 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.01649, allocations: 0 / 332.6 MB, free: 52 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.01682, allocations: 55.91 kB / 332.7 MB, free: 15.99 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.003271/0.02009, allocations: 0.9268 MB / 333.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.02027, allocations: 72.67 kB / 333.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.02028, allocations: 4 kB / 333.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.02035, allocations: 40.78 kB / 333.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.02078, allocations: 80.91 kB / 333.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.02181, allocations: 0.5726 MB / 334.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.02191, allocations: 116.3 kB / 334.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.02205, allocations: 49.91 kB / 334.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.02222, allocations: 91.34 kB / 334.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.854e-06/0.02222, allocations: 0 / 334.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of Templates: time 0.009325/0.03154, allocations: 3.656 MB / 338.3 MB, free: 10.89 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 -s gbode -gbm=radauIIA3 -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: 3.04018662776798]