Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008104/0.0008106, allocations: 95.12 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.0009654/0.0009654, allocations: 202.5 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.339/1.339, allocations: 227.7 MB / 247.4 MB, free: 9.332 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1887/0.1887, allocations: 46.18 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002322, allocations: 8 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1017, allocations: 63.55 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001964/0.1037, allocations: 1.381 MB / 485.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1054, allocations: 1.16 MB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.1054, allocations: 4 kB / 486.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1056, allocations: 31.84 kB / 486.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1059, allocations: 59.81 kB / 486.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1063, allocations: 166.7 kB / 486.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1065, allocations: 67.78 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.1066, allocations: 19.98 kB / 486.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.1066, allocations: 35.78 kB / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1068, allocations: 35.78 kB / 486.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1068, allocations: 4 kB / 486.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.107, allocations: 95.88 kB / 486.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.107, allocations: 11.98 kB / 486.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.1071, allocations: 57.5 kB / 486.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1072, allocations: 99.78 kB / 486.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1073, allocations: 4 kB / 486.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1073, allocations: 0 / 486.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.1073, allocations: 0 / 486.9 MB, free: 0.8789 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004728/0.1078, allocations: 403.5 kB / 487.3 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1078, allocations: 8.875 kB / 487.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1078, allocations: 8.844 kB / 487.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.108, allocations: 196.2 kB / 487.5 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1081, allocations: 16.23 kB / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1081, allocations: 4.375 kB / 487.6 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1083, allocations: 83.5 kB / 487.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1083, allocations: 0 / 487.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1083, allocations: 4 kB / 487.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1083, allocations: 0 / 487.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1085, allocations: 43.97 kB / 487.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.1089, allocations: 324.7 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1091, allocations: 42.56 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.1092, allocations: 32.94 kB / 488.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1092, allocations: 8.062 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1092, allocations: 38.55 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1092, allocations: 0 / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008427/0.1101, allocations: 265.1 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1101, allocations: 81.11 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1103, allocations: 155.7 kB / 488.6 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1103, allocations: 25.7 kB / 488.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.1104, allocations: 96.14 kB / 488.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1104, allocations: 27.64 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.1104, allocations: 9.719 kB / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1106, allocations: 322.8 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1107, allocations: 47.91 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1108, allocations: 65.75 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.1111, allocations: 108.8 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1111, allocations: 0 / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003165/0.1114, allocations: 141.5 kB / 489.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1115, allocations: 4 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1115, allocations: 0 / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1115, allocations: 7.922 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1116, allocations: 27.92 kB / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1116, allocations: 0 / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.1117, allocations: 23.92 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1117, allocations: 0 / 489.5 MB, free: 14.07 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 (7): * Single equations (assignments): 7 * 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 8.985e-05/0.1118, allocations: 121.8 kB / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1119, allocations: 7.906 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.1122, allocations: 150.3 kB / 489.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1123, allocations: 7.938 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1123, allocations: 0 / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1123, allocations: 7.922 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.1129, allocations: 430.4 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1129, allocations: 0 / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.113, allocations: 23.98 kB / 490.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.113, allocations: 4 kB / 490.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.113, allocations: 3.938 kB / 490.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.113, allocations: 0 / 490.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.113, allocations: 0 / 490.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1134, allocations: 239.7 kB / 490.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1134, allocations: 93 kB / 490.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1134, allocations: 3.938 kB / 490.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.1135, allocations: 15.98 kB / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1136, allocations: 8.281 kB / 490.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1136, allocations: 7.984 kB / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.931e-05/0.1137, allocations: 113.7 kB / 490.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1137, allocations: 0 / 490.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.114, allocations: 43.98 kB / 490.8 MB, free: 12.71 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 (7): * Single equations (assignments): 7 * 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.001052/0.115, allocations: 0.4904 MB / 491.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1154, allocations: 107.9 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1154, allocations: 0 / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1155, allocations: 59.95 kB / 491.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1158, allocations: 23.92 kB / 491.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.1163, allocations: 270.7 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1166, allocations: 0.7023 MB / 492.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.1167, allocations: 23.42 kB / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1167, allocations: 0 / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.003935/0.1206, allocations: 2.149 MB / 494.6 MB, free: 8.992 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches