Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009682/0.0009682, 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.0009758/0.0009758, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.9398/0.9398, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2261/0.2261, allocations: 32.81 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/1.047e-05, allocations: 8.422 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002083/0.002094, allocations: 2.014 MB / 325.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003256, allocations: 1.035 MB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.003336, allocations: 4 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.003684, allocations: 255 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.004031, allocations: 266.9 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.00464, allocations: 486.7 kB / 327.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.00493, allocations: 331 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.005048, allocations: 54.84 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.00521, allocations: 171.5 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.005365, allocations: 171.6 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.005384, allocations: 12 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.005522, allocations: 107.8 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.005617, allocations: 95.59 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.005671, allocations: 55.72 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.005908, allocations: 258.9 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.005909, allocations: 0 / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00591, allocations: 4 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.005913, allocations: 0 / 328.5 MB, free: 4.41 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.0004321/0.006345, allocations: 0.5656 MB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.006374, allocations: 15.98 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.53e-05/0.006469, allocations: 32.91 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.006674, allocations: 255.9 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.006683, allocations: 4.375 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.006708, allocations: 16.36 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.006814, allocations: 91.56 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.006824, allocations: 8.078 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006835, allocations: 12.12 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.006841, allocations: 3.984 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.006879, allocations: 29.89 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.007163, allocations: 266.8 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.853e-05/0.007231, allocations: 58.55 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.007251, allocations: 13.08 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.007269, allocations: 11.92 kB / 329.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.00729, allocations: 38.5 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 7.41e-07/0.00729, allocations: 0 / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003516/0.007642, allocations: 216.1 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.007669, allocations: 55.41 kB / 330.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.007914, allocations: 405 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.007926, allocations: 29.7 kB / 330.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.007983, allocations: 149.7 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.008017, allocations: 59.47 kB / 330.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.008052, allocations: 37.62 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.008155, allocations: 354.7 kB / 331.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.008176, allocations: 12 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.008198, allocations: 19.98 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.008252, allocations: 55.47 kB / 331.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.008253, allocations: 0 / 331.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001054/0.008358, allocations: 105.5 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.008369, allocations: 4 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.008373, allocations: 4 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.008387, allocations: 3.938 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.008472, allocations: 39.91 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.008477, allocations: 3.984 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.008505, allocations: 4 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.008512, allocations: 4 kB / 331.4 MB, free: 1.324 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 6.917e-05/0.008582, allocations: 120.7 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.008612, allocations: 27.97 kB / 331.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.008776, allocations: 149.5 kB / 331.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008779, allocations: 7.938 kB / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.00878, allocations: 0 / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008783, allocations: 0 / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.00908, allocations: 367.3 kB / 332.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009081, allocations: 0 / 332.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.009138, allocations: 31.92 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.00914, allocations: 0 / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.009147, allocations: 11.94 kB / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009148, allocations: 0 / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.009149, allocations: 0 / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.009259, allocations: 205 kB / 332.3 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.009278, allocations: 31.7 kB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.009296, allocations: 4 kB / 332.4 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.009337, allocations: 4 kB / 332.4 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.00936, allocations: 11.97 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.009366, allocations: 4 kB / 332.4 MB, free: 308 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.00949, allocations: 195.5 kB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00949, allocations: 0 / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.009652, allocations: 47.92 kB / 332.6 MB, free: 64 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.001834/0.01149, allocations: 0.9226 MB / 333.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.01159, allocations: 64.73 kB / 333.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.01159, allocations: 4 kB / 333.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.01163, allocations: 44.77 kB / 333.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01186, allocations: 95.95 kB / 333.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.01239, allocations: 0.5734 MB / 334.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.073e-05/0.01245, allocations: 116.3 kB / 334.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.091e-05/0.01252, allocations: 41.91 kB / 334.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.01262, allocations: 99.28 kB / 334.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01262, allocations: 0 / 334.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of Templates: time 0.005238/0.01785, allocations: 3.653 MB / 338.2 MB, free: 10.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8567851721309125]