Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008167, allocations: 101.9 kB / 18.01 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000926/0.000926, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1961/0.1961, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002584, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1019, allocations: 63.56 MB / 483.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002348/0.1043, allocations: 1.739 MB / 485.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1061, allocations: 1.095 MB / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1063, allocations: 4 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.1068, allocations: 255.3 kB / 486.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.1072, allocations: 235.3 kB / 487.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1086, allocations: 0.6175 MB / 487.7 MB, free: 224 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.1091, allocations: 327.1 kB / 488 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.1092, allocations: 68.72 kB / 488.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1094, allocations: 127.4 kB / 488.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1097, allocations: 191.2 kB / 488.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1097, allocations: 4 kB / 488.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.1099, allocations: 95.89 kB / 488.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1101, allocations: 95.66 kB / 488.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1102, allocations: 136.6 kB / 488.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1105, allocations: 255.7 kB / 488.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1105, allocations: 0 / 488.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1105, allocations: 0 / 488.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1106, allocations: 0 / 488.9 MB, free: 14.94 MB / 366.1 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.000673/0.1112, allocations: 0.6147 MB / 489.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1113, allocations: 9.953 kB / 489.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.1114, allocations: 48.38 kB / 489.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1117, allocations: 330.1 kB / 489.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1117, allocations: 8.375 kB / 489.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1118, allocations: 12.36 kB / 490 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.112, allocations: 129.7 kB / 490.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1121, allocations: 4 kB / 490.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1121, allocations: 0 / 490.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1121, allocations: 4 kB / 490.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.1123, allocations: 99.88 kB / 490.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.113, allocations: 0.5041 MB / 490.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1132, allocations: 118.5 kB / 490.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.1133, allocations: 44.83 kB / 490.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1133, allocations: 4 kB / 490.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1133, allocations: 30.56 kB / 490.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1133, allocations: 0 / 490.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009791/0.1143, allocations: 471.8 kB / 491.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1144, allocations: 55.41 kB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.115, allocations: 0.576 MB / 492 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.115, allocations: 25.7 kB / 492 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1151, allocations: 212.3 kB / 492.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1152, allocations: 47.27 kB / 492.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1152, allocations: 17.72 kB / 492.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1154, allocations: 362.7 kB / 492.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1155, allocations: 63.97 kB / 492.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1156, allocations: 79.86 kB / 492.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1159, allocations: 163.1 kB / 492.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1159, allocations: 3.938 kB / 492.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003765/0.1163, allocations: 241 kB / 493.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1163, allocations: 14.33 kB / 493.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1164, allocations: 0 / 493.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1164, allocations: 0 / 493.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1165, allocations: 31.98 kB / 493.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1165, allocations: 3.938 kB / 493.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.1166, allocations: 19.92 kB / 493.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1166, allocations: 8 kB / 493.2 MB, free: 10.41 MB / 366.1 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.0001711/0.1168, allocations: 181.7 kB / 493.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.1169, allocations: 43.44 kB / 493.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.1174, allocations: 289.6 kB / 493.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1174, allocations: 4 kB / 493.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1174, allocations: 0 / 493.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1174, allocations: 3.984 kB / 493.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.1182, allocations: 0.6855 MB / 494.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1183, allocations: 0 / 494.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1184, allocations: 39.91 kB / 494.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1184, allocations: 4 kB / 494.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1184, allocations: 0 / 494.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1184, allocations: 4 kB / 494.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1184, allocations: 3.938 kB / 494.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.1188, allocations: 337.4 kB / 494.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.1189, allocations: 128.5 kB / 494.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.119, allocations: 0 / 494.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.1191, allocations: 16 kB / 495 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1191, allocations: 15.91 kB / 495 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1191, allocations: 7.984 kB / 495 MB, free: 8.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004098/0.1195, allocations: 427 kB / 495.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1196, allocations: 4 kB / 495.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1199, allocations: 51.98 kB / 495.5 MB, free: 8.09 MB / 366.1 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.001589/0.1215, allocations: 0.6846 MB / 496.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1218, allocations: 175.8 kB / 496.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1218, allocations: 0 / 496.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.122, allocations: 102.1 kB / 496.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1225, allocations: 73.84 kB / 496.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1236, allocations: 0.8434 MB / 497.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.124, allocations: 0.8224 MB / 498.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.1241, allocations: 31.42 kB / 498.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1241, allocations: 0 / 498.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of Templates: time 0.007442/0.1315, allocations: 4.725 MB / 0.4911 GB, free: 0.8711 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches