Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 160.2 kB / 24.91 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9413/0.9413, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2645/0.2645, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.466e-05, allocations: 6.906 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002163/0.002178, allocations: 2.021 MB / 327.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003368, allocations: 1.031 MB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.003444, allocations: 4 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.004048, allocations: 262.9 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.004422, allocations: 263 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.005068, allocations: 474.8 kB / 330 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.00539, allocations: 339 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.005513, allocations: 50.84 kB / 330.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.005662, allocations: 179.4 kB / 330.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.005816, allocations: 175.6 kB / 330.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.005836, allocations: 8 kB / 330.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.005962, allocations: 103.8 kB / 330.8 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.006048, allocations: 95.61 kB / 330.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.006092, allocations: 55.72 kB / 330.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.006344, allocations: 266.8 kB / 331.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.006346, allocations: 0 / 331.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006346, allocations: 0 / 331.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.00635, allocations: 0 / 331.2 MB, free: 1.867 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.0004339/0.006784, allocations: 0.5658 MB / 331.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.006813, allocations: 8.031 kB / 331.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.006852, allocations: 32.91 kB / 331.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.007053, allocations: 252 kB / 332.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.007062, allocations: 12.31 kB / 332.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.007088, allocations: 16.36 kB / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.007193, allocations: 87.56 kB / 332.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.007202, allocations: 8.141 kB / 332.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.007211, allocations: 4.375 kB / 332.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.007216, allocations: 4.359 kB / 332.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.007253, allocations: 34.11 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.00754, allocations: 274.7 kB / 332.5 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.902e-05/0.007609, allocations: 54.48 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.007629, allocations: 20.84 kB / 332.6 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.007646, allocations: 4 kB / 332.6 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.007663, allocations: 34.56 kB / 332.6 MB, free: 380 kB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.007665, allocations: 0 / 332.6 MB, free: 380 kB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003504/0.008015, allocations: 216.5 kB / 332.8 MB, free: 160 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.008041, allocations: 55.41 kB / 332.9 MB, free: 92 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.008293, allocations: 413 kB / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.008305, allocations: 29.7 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.00836, allocations: 141.7 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.008393, allocations: 63.47 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.008427, allocations: 33.69 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.00851, allocations: 354.7 kB / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.008531, allocations: 15.98 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.008552, allocations: 17.72 kB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.008607, allocations: 56.8 kB / 334 MB, free: 14.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.008607, allocations: 0 / 334 MB, free: 14.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.301e-05/0.0087, allocations: 110.3 kB / 334.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.008709, allocations: 10.66 kB / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.008712, allocations: 0 / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.008721, allocations: 4 kB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.008797, allocations: 23.98 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.008801, allocations: 7.938 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.008829, allocations: 7.984 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.008837, allocations: 7.938 kB / 334.1 MB, free: 14.78 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 6.72e-05/0.008904, allocations: 120.6 kB / 334.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.008933, allocations: 27.97 kB / 334.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.009097, allocations: 149.5 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0091, allocations: 4 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.009101, allocations: 0 / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.009106, allocations: 3.938 kB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.009401, allocations: 358.4 kB / 334.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.009402, allocations: 4 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.009456, allocations: 27.92 kB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009459, allocations: 3.984 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.009466, allocations: 11.94 kB / 334.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.009467, allocations: 0 / 334.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.009467, allocations: 4 kB / 334.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.009578, allocations: 194.5 kB / 335 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.009597, allocations: 35.75 kB / 335.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.009614, allocations: 7.938 kB / 335.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.009656, allocations: 4 kB / 335.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.009679, allocations: 15.92 kB / 335.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.009683, allocations: 0 / 335.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.009813, allocations: 195.5 kB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009813, allocations: 0 / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.01002, allocations: 47.94 kB / 335.3 MB, free: 13.53 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.001808/0.01183, allocations: 0.9037 MB / 336.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.01194, allocations: 75.48 kB / 336.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01195, allocations: 4 kB / 336.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/0.01199, allocations: 44.77 kB / 336.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01221, allocations: 80.75 kB / 336.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.01294, allocations: 0.5743 MB / 337 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.271e-05/0.013, allocations: 116.3 kB / 337.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.01307, allocations: 33.92 kB / 337.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.01316, allocations: 99.28 kB / 337.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01316, allocations: 0 / 337.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Templates: time 0.005151/0.01832, allocations: 3.648 MB / 340.9 MB, free: 8.387 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.952715795021504]