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.001215/0.001215, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1073, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003234/0.1106, allocations: 2.047 MB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1123, allocations: 1.122 MB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.1124, allocations: 3.938 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.1129, allocations: 275.1 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.1133, allocations: 255.1 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1146, allocations: 0.6446 MB / 485.8 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.115, allocations: 347.2 kB / 486.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1151, allocations: 84.69 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1153, allocations: 147.4 kB / 486.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1155, allocations: 211.2 kB / 486.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1155, allocations: 12 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1157, allocations: 99.97 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1158, allocations: 99.61 kB / 486.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.879e-05/0.1159, allocations: 127 kB / 486.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1163, allocations: 350.7 kB / 487.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1163, allocations: 7.938 kB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1163, allocations: 0 / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1163, allocations: 4 kB / 487.2 MB, free: 14.73 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.0006799/0.117, allocations: 0.6611 MB / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.117, allocations: 9.109 kB / 487.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.1171, allocations: 40.47 kB / 488 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1175, allocations: 334 kB / 488.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1175, allocations: 8.375 kB / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.1175, allocations: 16.31 kB / 488.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1178, allocations: 125.8 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1178, allocations: 0 / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1178, allocations: 8 kB / 488.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1178, allocations: 0 / 488.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.118, allocations: 95.86 kB / 488.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.1187, allocations: 0.5041 MB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1188, allocations: 110.5 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.1189, allocations: 36.84 kB / 489.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.119, allocations: 11.97 kB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.119, allocations: 30.56 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.119, allocations: 0 / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009007/0.1199, allocations: 448.3 kB / 489.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1199, allocations: 55.41 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.1205, allocations: 0.572 MB / 490.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1205, allocations: 29.69 kB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1206, allocations: 200.4 kB / 490.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.1207, allocations: 59.16 kB / 490.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.1208, allocations: 37.7 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1209, allocations: 354.8 kB / 490.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.121, allocations: 67.95 kB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1212, allocations: 66.45 kB / 491.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1214, allocations: 160.7 kB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1214, allocations: 3.938 kB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003474/0.1218, allocations: 235.3 kB / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1218, allocations: 4 kB / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1218, allocations: 0 / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1218, allocations: 0 / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.122, allocations: 35.97 kB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.122, allocations: 3.984 kB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/0.1221, allocations: 15.88 kB / 491.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1221, allocations: 11.98 kB / 491.5 MB, free: 10.21 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.0001584/0.1222, allocations: 189.7 kB / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.1223, allocations: 39.44 kB / 491.8 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.1228, allocations: 273.6 kB / 492 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1228, allocations: 3.984 kB / 492 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1228, allocations: 0 / 492 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1228, allocations: 0 / 492 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.1236, allocations: 0.6875 MB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1236, allocations: 0 / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1237, allocations: 31.92 kB / 492.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.1237, allocations: 4 kB / 492.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1238, allocations: 7.984 kB / 492.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1238, allocations: 0 / 492.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1238, allocations: 7.938 kB / 492.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.1242, allocations: 326.8 kB / 493.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/0.1242, allocations: 104.7 kB / 493.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1243, allocations: 4 kB / 493.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.1244, allocations: 11.98 kB / 493.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1244, allocations: 15.86 kB / 493.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1244, allocations: 4 kB / 493.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003856/0.1248, allocations: 427.1 kB / 493.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1248, allocations: 0 / 493.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1251, allocations: 55.91 kB / 493.7 MB, free: 7.934 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.001533/0.1267, allocations: 0.6931 MB / 494.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.127, allocations: 159.8 kB / 494.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.127, allocations: 0 / 494.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1272, allocations: 91.89 kB / 494.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.1278, allocations: 87.69 kB / 494.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.129, allocations: 0.7272 MB / 495.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1294, allocations: 0.8299 MB / 496.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1295, allocations: 57.89 kB / 496.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.1296, allocations: 31.42 kB / 496.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1296, allocations: 0 / 496.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of Templates: time 0.006386/0.136, allocations: 3.358 MB / 499.7 MB, free: 2.152 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 -s gbode -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