Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000767/0.000767, allocations: 92.44 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009367/0.0009368, allocations: 201.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.7 MB / 247.5 MB, free: 11.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1912/0.1912, allocations: 46.17 MB / 345.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 63.56 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002378/0.1124, allocations: 1.633 MB / 485.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1142, allocations: 0.9547 MB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1143, allocations: 0 / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.1148, allocations: 247.4 kB / 486.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.1153, allocations: 227.4 kB / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1164, allocations: 449.6 kB / 487.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.1169, allocations: 283.2 kB / 487.5 MB, free: 396 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.1171, allocations: 44.7 kB / 487.5 MB, free: 352 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.1173, allocations: 111.5 kB / 487.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1176, allocations: 187.2 kB / 487.8 MB, free: 52 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1176, allocations: 4 kB / 487.8 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1178, allocations: 47.97 kB / 487.9 MB, free: 0 / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.1179, allocations: 79.69 kB / 488 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1181, allocations: 128.7 kB / 488.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1184, allocations: 203.9 kB / 488.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1184, allocations: 0 / 488.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1184, allocations: 0 / 488.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1184, allocations: 3.938 kB / 488.3 MB, free: 15.59 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000804/0.1193, allocations: 0.5797 MB / 488.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1193, allocations: 8.875 kB / 488.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.1194, allocations: 36.47 kB / 488.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.1198, allocations: 306.2 kB / 489.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1198, allocations: 8.375 kB / 489.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1198, allocations: 4.375 kB / 489.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.12, allocations: 84.73 kB / 489.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1201, allocations: 0 / 489.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1201, allocations: 12 kB / 489.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1201, allocations: 3.938 kB / 489.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1202, allocations: 55.91 kB / 489.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.1208, allocations: 436.4 kB / 489.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.121, allocations: 66.56 kB / 489.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1211, allocations: 32.91 kB / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1211, allocations: 0 / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1211, allocations: 34.56 kB / 489.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1211, allocations: 4 kB / 489.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003438/0.1215, allocations: 133.3 kB / 490.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1215, allocations: 55.34 kB / 490.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/0.1221, allocations: 0.5643 MB / 490.7 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1222, allocations: 29.69 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1223, allocations: 203.9 kB / 490.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1224, allocations: 19.66 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1224, allocations: 13.72 kB / 491 MB, free: 12.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1226, allocations: 354.8 kB / 491.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.1227, allocations: 23.92 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.266e-05/0.1227, allocations: 19.98 kB / 491.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1229, allocations: 52.84 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1229, allocations: 0 / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002116/0.1231, allocations: 113.3 kB / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1231, allocations: 4 kB / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1231, allocations: 0 / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1231, allocations: 0 / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.1233, allocations: 23.86 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1233, allocations: 0 / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.1233, allocations: 7.906 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1234, allocations: 8 kB / 491.5 MB, free: 12.11 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 (6): * Single equations (assignments): 6 * 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.000165/0.1235, allocations: 165.8 kB / 491.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1236, allocations: 35.53 kB / 491.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.1239, allocations: 133 kB / 491.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1239, allocations: 7.938 kB / 491.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1239, allocations: 0 / 491.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1239, allocations: 4 kB / 491.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.1242, allocations: 286 kB / 492.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1242, allocations: 0 / 492.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.1243, allocations: 11.94 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1243, allocations: 4 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1243, allocations: 4 kB / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1243, allocations: 3.938 kB / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1243, allocations: 0 / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1246, allocations: 223 kB / 492.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.1247, allocations: 116.6 kB / 492.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1247, allocations: 4 kB / 492.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.1248, allocations: 11.92 kB / 492.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.1248, allocations: 7.938 kB / 492.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1248, allocations: 0 / 492.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000407/0.1252, allocations: 423.1 kB / 493 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1253, allocations: 4 kB / 493 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1255, allocations: 35.91 kB / 493 MB, free: 10.56 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 (6): * Single equations (assignments): 6 * 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.001396/0.1269, allocations: 0.581 MB / 493.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1271, allocations: 59.91 kB / 493.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1272, allocations: 0 / 493.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.1272, allocations: 35.92 kB / 493.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.1278, allocations: 65.91 kB / 493.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.1287, allocations: 0.69 MB / 494.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1291, allocations: 0.7868 MB / 495.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.1292, allocations: 27.44 kB / 495.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1292, allocations: 0 / 495.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of Templates: time 0.006242/0.1354, allocations: 3.714 MB / 499 MB, free: 4.773 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches