Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009052/0.0009053, allocations: 96.73 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 203 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1901/0.1901, allocations: 46.19 MB / 345.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1019, allocations: 63.56 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002271/0.1042, allocations: 1.731 MB / 485.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1059, allocations: 0.9897 MB / 486.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1061, allocations: 4 kB / 486.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.1066, allocations: 255.4 kB / 486.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.1071, allocations: 231.3 kB / 486.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1081, allocations: 465 kB / 487.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.1085, allocations: 311.2 kB / 487.7 MB, free: 220 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1087, allocations: 52.72 kB / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1088, allocations: 123.4 kB / 487.9 MB, free: 44 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.1091, allocations: 191.2 kB / 488.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1091, allocations: 8 kB / 488.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1093, allocations: 91.95 kB / 488.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1094, allocations: 79.67 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1096, allocations: 140.6 kB / 488.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1098, allocations: 243.8 kB / 488.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1098, allocations: 0 / 488.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1099, allocations: 4 kB / 488.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1099, allocations: 0 / 488.6 MB, free: 15.29 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.0006416/0.1105, allocations: 0.6031 MB / 489.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1106, allocations: 9.953 kB / 489.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.1106, allocations: 44.38 kB / 489.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.111, allocations: 318.1 kB / 489.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.111, allocations: 8.375 kB / 489.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.111, allocations: 8.375 kB / 489.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.1113, allocations: 113.8 kB / 489.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1113, allocations: 0 / 489.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1113, allocations: 4 kB / 489.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.1113, allocations: 4 kB / 489.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1115, allocations: 75.89 kB / 489.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.1122, allocations: 0.4962 MB / 490.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1123, allocations: 86.55 kB / 490.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.1124, allocations: 36.84 kB / 490.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.1125, allocations: 8.156 kB / 490.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1125, allocations: 38.5 kB / 490.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1125, allocations: 0 / 490.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009739/0.1135, allocations: 407.8 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1135, allocations: 55.41 kB / 490.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.1142, allocations: 0.5642 MB / 491.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1143, allocations: 25.7 kB / 491.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1144, allocations: 204.4 kB / 491.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.1145, allocations: 51.17 kB / 491.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1145, allocations: 25.72 kB / 491.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1147, allocations: 350.8 kB / 492.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1148, allocations: 51.91 kB / 492.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1149, allocations: 55.97 kB / 492.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1152, allocations: 134.9 kB / 492.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1152, allocations: 3.938 kB / 492.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003812/0.1156, allocations: 203.4 kB / 492.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1156, allocations: 8 kB / 492.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1156, allocations: 4 kB / 492.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1156, allocations: 0 / 492.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1158, allocations: 39.97 kB / 492.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1158, allocations: 0 / 492.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.1159, allocations: 15.84 kB / 492.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1159, allocations: 8 kB / 492.6 MB, free: 11.06 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.0001849/0.1161, allocations: 181.7 kB / 492.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.1161, allocations: 43.52 kB / 492.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.1166, allocations: 241.6 kB / 493.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1166, allocations: 0 / 493.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1166, allocations: 4 kB / 493.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1166, allocations: 4 kB / 493.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.1174, allocations: 0.6269 MB / 493.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1174, allocations: 0 / 493.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.1175, allocations: 43.92 kB / 493.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1175, allocations: 4 kB / 493.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1176, allocations: 0 / 493.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1176, allocations: 0 / 493.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.1176, allocations: 11.92 kB / 493.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.118, allocations: 305.8 kB / 494.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.1181, allocations: 116.6 kB / 494.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1181, allocations: 4 kB / 494.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1182, allocations: 7.984 kB / 494.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1183, allocations: 27.77 kB / 494.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1183, allocations: 4 kB / 494.2 MB, free: 9.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004743/0.1188, allocations: 431 kB / 494.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1188, allocations: 4 kB / 494.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1191, allocations: 48 kB / 494.7 MB, free: 8.871 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.001633/0.1207, allocations: 0.6825 MB / 495.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.121, allocations: 139.9 kB / 495.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.121, allocations: 0 / 495.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1212, allocations: 82.56 kB / 495.6 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1217, allocations: 73.83 kB / 495.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1228, allocations: 0.8002 MB / 496.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.1232, allocations: 0.8067 MB / 497.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.1233, allocations: 35.42 kB / 497.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1233, allocations: 0 / 497.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of Templates: time 0.006739/0.13, allocations: 4.443 MB / 0.49 GB, free: 2.035 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches