Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 187 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.3 MB / 242.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000727/0.0007272, allocations: 97.48 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2751/0.2751, allocations: 44.15 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003405, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 61.88 MB / 0.5107 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.3783, allocations: 88.96 MB / 0.5976 GB, free: 6.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.3786, allocations: 83.89 kB / 0.5977 GB, free: 6.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01689/0.3955, allocations: 7.947 MB / 0.6054 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3956, allocations: 0 / 0.6054 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.3956, allocations: 4 kB / 0.6054 GB, free: 14.07 MB / 426.7 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.000841/0.3965, allocations: 0.6299 MB / 0.6061 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3965, allocations: 12.03 kB / 0.6061 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3966, allocations: 40.38 kB / 0.6061 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.3971, allocations: 352.1 kB / 0.6064 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.3971, allocations: 4.375 kB / 0.6065 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3972, allocations: 4.375 kB / 0.6065 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3973, allocations: 58.22 kB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3973, allocations: 8.125 kB / 0.6065 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3974, allocations: 7.938 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3974, allocations: 4 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.3975, allocations: 27.98 kB / 0.6066 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.3981, allocations: 452.5 kB / 0.607 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3983, allocations: 50.56 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.3984, allocations: 16.94 kB / 0.6071 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3984, allocations: 4 kB / 0.6071 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3984, allocations: 34.56 kB / 0.6071 GB, free: 12.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 3.246e-06/0.3984, allocations: 4 kB / 0.6071 GB, free: 12.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006275/0.3991, allocations: 247.9 kB / 0.6073 GB, free: 11.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3991, allocations: 59.41 kB / 0.6074 GB, free: 11.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4003, allocations: 0.8495 MB / 0.6082 GB, free: 11.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.4004, allocations: 25.7 kB / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.4005, allocations: 220.1 kB / 0.6085 GB, free: 10.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.4006, allocations: 19.73 kB / 0.6085 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4006, allocations: 0 / 0.6085 GB, free: 10.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4008, allocations: 366.7 kB / 0.6088 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.4008, allocations: 23.98 kB / 0.6088 GB, free: 10.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.4009, allocations: 39.97 kB / 0.6089 GB, free: 10.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4011, allocations: 56.83 kB / 0.6089 GB, free: 10.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4011, allocations: 0 / 0.6089 GB, free: 10.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002304/0.4013, allocations: 129.1 kB / 0.6091 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4013, allocations: 8 kB / 0.6091 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4013, allocations: 0 / 0.6091 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4014, allocations: 3.984 kB / 0.6091 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.4014, allocations: 15.94 kB / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4014, allocations: 4 kB / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.4015, allocations: 7.984 kB / 0.6091 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4015, allocations: 4 kB / 0.6091 GB, free: 10.1 MB / 426.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.4017, allocations: 214.2 kB / 0.6093 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.4018, allocations: 43.44 kB / 0.6093 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.4021, allocations: 149.1 kB / 0.6095 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4021, allocations: 0 / 0.6095 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4022, allocations: 3.984 kB / 0.6095 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4022, allocations: 3.938 kB / 0.6095 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.403, allocations: 0.6037 MB / 0.6101 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.403, allocations: 0 / 0.6101 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.403, allocations: 11.98 kB / 0.6101 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.403, allocations: 4 kB / 0.6101 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.4031, allocations: 320 / 0.6101 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4031, allocations: 0 / 0.6101 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4031, allocations: 7.938 kB / 0.6101 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.4034, allocations: 230.9 kB / 0.6103 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.4035, allocations: 164.5 kB / 0.6105 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.4036, allocations: 0 / 0.6105 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.4037, allocations: 7.984 kB / 0.6105 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.4038, allocations: 7.938 kB / 0.6105 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4038, allocations: 4 kB / 0.6105 GB, free: 8.547 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006956/0.4045, allocations: 0.6472 MB / 0.6111 GB, free: 7.902 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4045, allocations: 0 / 0.6111 GB, free: 7.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.4049, allocations: 56 kB / 0.6112 GB, free: 7.848 MB / 426.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008633/0.4058, allocations: 418.6 kB / 0.6116 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.406, allocations: 67.84 kB / 0.6117 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.406, allocations: 4 kB / 0.6117 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.4061, allocations: 27.98 kB / 0.6117 GB, free: 7.492 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4065, allocations: 26.3 kB / 0.6117 GB, free: 7.469 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4077, allocations: 0.9154 MB / 0.6126 GB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.4081, allocations: 0.8224 MB / 0.6134 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.606e-05/0.4082, allocations: 51.81 kB / 0.6135 GB, free: 5.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.4083, allocations: 15.44 kB / 0.6135 GB, free: 5.617 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4083, allocations: 0 / 0.6135 GB, free: 5.617 MB / 426.7 MB Notification: Performance of Templates: time 0.005995/0.4143, allocations: 2.464 MB / 0.6159 GB, free: 3.148 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches