Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.09 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 77.56 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 62.45 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.00352/0.1142, allocations: 1.995 MB / 481.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.116, allocations: 1.083 MB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1161, allocations: 0 / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.1166, allocations: 247.4 kB / 483.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.117, allocations: 235.3 kB / 483.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1184, allocations: 0.6095 MB / 484.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.1188, allocations: 307.1 kB / 484.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1189, allocations: 52.7 kB / 484.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1191, allocations: 115.5 kB / 484.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1193, allocations: 199.2 kB / 484.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.1194, allocations: 8 kB / 484.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1195, allocations: 47.97 kB / 484.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1196, allocations: 87.69 kB / 484.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1197, allocations: 107 kB / 485 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.12, allocations: 219.9 kB / 485.2 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.12, allocations: 3.984 kB / 485.2 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.12, allocations: 0 / 485.2 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.12, allocations: 4 kB / 485.2 MB, free: 448 kB / 350.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.0007123/0.1208, allocations: 0.6299 MB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1208, allocations: 8.875 kB / 485.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.1209, allocations: 44.41 kB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1212, allocations: 322.1 kB / 486.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1212, allocations: 4.375 kB / 486.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1213, allocations: 4.375 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1215, allocations: 101.8 kB / 486.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1215, allocations: 4 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1215, allocations: 4 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1215, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.1217, allocations: 75.83 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.1223, allocations: 456.5 kB / 486.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1225, allocations: 74.48 kB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.1226, allocations: 36.95 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1226, allocations: 3.984 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1226, allocations: 34.56 kB / 487 MB, free: 14.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1227, allocations: 0 / 487 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003672/0.123, allocations: 157.1 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1231, allocations: 59.34 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.1237, allocations: 0.5721 MB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1237, allocations: 25.7 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1239, allocations: 200 kB / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1239, allocations: 19.73 kB / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.124, allocations: 21.72 kB / 488 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1241, allocations: 350.8 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.1242, allocations: 19.98 kB / 488.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.1243, allocations: 35.97 kB / 488.4 MB, free: 13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1244, allocations: 68.77 kB / 488.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1244, allocations: 384 / 488.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002335/0.1247, allocations: 133.1 kB / 488.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1247, allocations: 8 kB / 488.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1247, allocations: 0 / 488.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1247, allocations: 0 / 488.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.1248, allocations: 15.92 kB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1248, allocations: 4 kB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.1249, allocations: 7.906 kB / 488.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1249, allocations: 4 kB / 488.7 MB, free: 12.75 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.0001563/0.1251, allocations: 169.8 kB / 488.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.1252, allocations: 39.53 kB / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.1255, allocations: 149 kB / 489 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1255, allocations: 3.938 kB / 489 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1255, allocations: 7.984 kB / 489 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1255, allocations: 3.938 kB / 489 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.1258, allocations: 293.5 kB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1259, allocations: 4 kB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.1259, allocations: 11.98 kB / 489.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1259, allocations: 0 / 489.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.126, allocations: 4 kB / 489.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.126, allocations: 7.938 kB / 489.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.126, allocations: 0 / 489.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.1263, allocations: 227 kB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.1263, allocations: 104.7 kB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1264, allocations: 4 kB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.1265, allocations: 7.922 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.1265, allocations: 4 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1265, allocations: 192 / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004224/0.1269, allocations: 427.1 kB / 490.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1269, allocations: 0 / 490.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.1272, allocations: 40 kB / 490.2 MB, free: 11.18 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.001487/0.1287, allocations: 0.5844 MB / 490.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.129, allocations: 55.97 kB / 490.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.129, allocations: 0 / 490.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.1291, allocations: 39.91 kB / 490.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.1297, allocations: 77.3 kB / 490.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1308, allocations: 0.7323 MB / 491.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1312, allocations: 0.8024 MB / 492.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.1313, allocations: 27.42 kB / 492.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1313, allocations: 0 / 492.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of Templates: time 0.007277/0.1386, allocations: 3.97 MB / 496.4 MB, free: 5.066 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches