Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001164, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 80.09 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003308/0.1079, allocations: 2.031 MB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1096, allocations: 1.025 MB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.1097, allocations: 0 / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.1101, allocations: 259.2 kB / 484.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.1105, allocations: 251.1 kB / 485 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.1114, allocations: 0.4935 MB / 485.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.1118, allocations: 323.2 kB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1119, allocations: 64.7 kB / 485.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1121, allocations: 139.4 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1123, allocations: 211.2 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1124, allocations: 12 kB / 486.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1125, allocations: 71.97 kB / 486.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1126, allocations: 95.61 kB / 486.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.1127, allocations: 119 kB / 486.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.113, allocations: 318.7 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.113, allocations: 4 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.113, allocations: 0 / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.113, allocations: 0 / 486.8 MB, free: 15.16 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.0006462/0.1137, allocations: 0.6456 MB / 487.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1137, allocations: 13.09 kB / 487.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.1138, allocations: 44.41 kB / 487.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1141, allocations: 318.1 kB / 487.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1141, allocations: 8.375 kB / 487.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1142, allocations: 16.28 kB / 487.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1144, allocations: 105.8 kB / 488 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1144, allocations: 0 / 488 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1144, allocations: 8 kB / 488 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1144, allocations: 0 / 488 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1146, allocations: 75.89 kB / 488.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.1152, allocations: 496.2 kB / 488.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1154, allocations: 90.55 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.1155, allocations: 32.84 kB / 488.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1155, allocations: 7.922 kB / 488.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1155, allocations: 38.56 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1155, allocations: 0 / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008641/0.1164, allocations: 391.9 kB / 489.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1165, allocations: 51.41 kB / 489.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.117, allocations: 0.5643 MB / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.117, allocations: 29.7 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1172, allocations: 204.3 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.1172, allocations: 55.25 kB / 490 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.1173, allocations: 37.7 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1174, allocations: 350.8 kB / 490.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1175, allocations: 47.97 kB / 490.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1176, allocations: 58.06 kB / 490.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.1179, allocations: 116.8 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1179, allocations: 3.938 kB / 490.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003149/0.1182, allocations: 203.4 kB / 490.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1182, allocations: 4 kB / 490.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1182, allocations: 4 kB / 490.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1183, allocations: 0 / 490.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1184, allocations: 39.97 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1184, allocations: 0 / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.1185, allocations: 7.938 kB / 490.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1185, allocations: 8 kB / 490.9 MB, free: 10.93 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.0001434/0.1187, allocations: 177.7 kB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.1187, allocations: 47.42 kB / 491.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.1192, allocations: 229.6 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1192, allocations: 0 / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1192, allocations: 3.938 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1192, allocations: 7.984 kB / 491.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006995/0.1199, allocations: 0.6256 MB / 491.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1199, allocations: 0 / 491.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.12, allocations: 39.92 kB / 492 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.12, allocations: 0 / 492 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.12, allocations: 4 kB / 492 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1201, allocations: 0 / 492 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1201, allocations: 3.938 kB / 492 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.1204, allocations: 302.8 kB / 492.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.1205, allocations: 104.7 kB / 492.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1205, allocations: 0 / 492.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.1206, allocations: 8 kB / 492.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1207, allocations: 19.86 kB / 492.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1207, allocations: 11.98 kB / 492.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003723/0.1211, allocations: 423 kB / 492.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1211, allocations: 0 / 492.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.1214, allocations: 55.98 kB / 492.9 MB, free: 8.777 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.00154/0.1229, allocations: 0.6768 MB / 493.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.1232, allocations: 135.8 kB / 493.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1232, allocations: 0 / 493.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1234, allocations: 86.55 kB / 493.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.1239, allocations: 78.61 kB / 493.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.1248, allocations: 0.6743 MB / 494.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1251, allocations: 0.8143 MB / 495.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1252, allocations: 45.91 kB / 495.4 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.1253, allocations: 35.42 kB / 495.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1253, allocations: 0 / 495.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of Templates: time 0.006278/0.1316, allocations: 3.251 MB / 498.7 MB, free: 3.23 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches