Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, 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.001346/0.001346, 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.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09725, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002768/0.1001, allocations: 1.657 MB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.101, allocations: 0.5611 MB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.101, allocations: 0 / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.1015, allocations: 451.1 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.102, allocations: 295.3 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1023, allocations: 131.4 kB / 484.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1025, allocations: 175.6 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.1026, allocations: 16 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1027, allocations: 115.7 kB / 484.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1029, allocations: 215.5 kB / 485.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1029, allocations: 0 / 485.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.103, allocations: 36 kB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.1031, allocations: 91.67 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.1032, allocations: 103 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1034, allocations: 255 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1034, allocations: 0 / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd: time 4.389e-06/0.1035, allocations: 3.984 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1035, allocations: 7.938 kB / 485.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000631/0.1041, allocations: 0.6374 MB / 486.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1041, allocations: 16.02 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.1042, allocations: 40.38 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1045, allocations: 304.1 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1045, allocations: 4.375 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1045, allocations: 4.375 kB / 486.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1046, allocations: 61.8 kB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1047, allocations: 0 / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1047, allocations: 0 / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1047, allocations: 0 / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1048, allocations: 35.91 kB / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1053, allocations: 396.7 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1054, allocations: 38.56 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.1055, allocations: 24.94 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1055, allocations: 3.938 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1055, allocations: 42.55 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.1055, allocations: 3.938 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007466/0.1063, allocations: 295.8 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1063, allocations: 55.41 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.1071, allocations: 0.8614 MB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1071, allocations: 25.7 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1072, allocations: 216.1 kB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1073, allocations: 19.66 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1073, allocations: 21.7 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1075, allocations: 362.7 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.1076, allocations: 31.97 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.1077, allocations: 39.97 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1079, allocations: 68.81 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1079, allocations: 0 / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002711/0.1082, allocations: 157 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1082, allocations: 7.984 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1082, allocations: 0 / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1082, allocations: 0 / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1083, allocations: 23.92 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1083, allocations: 0 / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.1084, allocations: 15.92 kB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1084, allocations: 0 / 489.3 MB, free: 12.44 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 0.0001672/0.1086, allocations: 213.8 kB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.1087, allocations: 43.44 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.109, allocations: 173.7 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.109, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.109, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.109, allocations: 3.938 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.1096, allocations: 498.4 kB / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1096, allocations: 0 / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.1097, allocations: 23.92 kB / 490.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1097, allocations: 0 / 490.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1097, allocations: 3.938 kB / 490.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1097, allocations: 4 kB / 490.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1098, allocations: 3.984 kB / 490.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.1101, allocations: 242.9 kB / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.1101, allocations: 104.6 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1102, allocations: 11.94 kB / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.1103, allocations: 7.984 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.1103, allocations: 4 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.1103, allocations: 7.984 kB / 490.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.1108, allocations: 0.6511 MB / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1108, allocations: 3.938 kB / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1111, allocations: 35.94 kB / 491.3 MB, free: 10.32 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.0008257/0.1119, allocations: 393.3 kB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.1122, allocations: 79.94 kB / 491.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1122, allocations: 0 / 491.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1123, allocations: 47.91 kB / 491.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1127, allocations: 24.91 kB / 491.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/0.1137, allocations: 0.8032 MB / 492.6 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.114, allocations: 0.8299 MB / 493.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.1141, allocations: 12.28 kB / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1141, allocations: 15.44 kB / 493.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1141, allocations: 0 / 493.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of Templates: time 0.1624/0.2765, allocations: 1.586 MB / 495.1 MB, free: 6.629 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches