Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009923/0.0009924, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.232/1.232, allocations: 223.2 MB / 241 MB, free: 11.89 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.0007892/0.000789, allocations: 105 kB / 292.2 MB, free: 10.91 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.3045/0.3045, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002946, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3376, allocations: 61.89 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.4555, allocations: 88.35 MB / 0.5958 GB, free: 6.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4558, allocations: 83.92 kB / 0.5959 GB, free: 6.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4724, allocations: 7.926 MB / 0.6037 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4724, allocations: 0 / 0.6037 GB, free: 14.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.4725, allocations: 8 kB / 0.6037 GB, free: 14.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006655/0.4731, allocations: 0.614 MB / 0.6043 GB, free: 14.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4732, allocations: 8.031 kB / 0.6043 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.4733, allocations: 39.53 kB / 0.6043 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.4738, allocations: 335.2 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4738, allocations: 8 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.4738, allocations: 4 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.4739, allocations: 49.62 kB / 0.6047 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.474, allocations: 3.984 kB / 0.6047 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.474, allocations: 0 / 0.6047 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.474, allocations: 0 / 0.6047 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.4741, allocations: 23.98 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.4747, allocations: 424.8 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.4748, allocations: 34.52 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4748, allocations: 0 / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4749, allocations: 34.55 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.4749, allocations: 4 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002639/0.4752, allocations: 101.2 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.4752, allocations: 51.41 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4763, allocations: 0.7901 MB / 0.6061 GB, free: 12.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4764, allocations: 25.7 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.4765, allocations: 224.2 kB / 0.6063 GB, free: 11.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.4765, allocations: 11.89 kB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.4766, allocations: 0 / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4767, allocations: 362.8 kB / 0.6067 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.4767, allocations: 8 kB / 0.6067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.4768, allocations: 7.984 kB / 0.6067 GB, free: 11.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.4768, allocations: 20 kB / 0.6067 GB, free: 11.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4768, allocations: 0 / 0.6067 GB, free: 11.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000147/0.477, allocations: 97.11 kB / 0.6068 GB, free: 11.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.477, allocations: 4 kB / 0.6068 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.477, allocations: 4 kB / 0.6068 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.477, allocations: 0 / 0.6068 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.4771, allocations: 4 kB / 0.6068 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4771, allocations: 3.984 kB / 0.6068 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.4772, allocations: 11.97 kB / 0.6069 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4772, allocations: 0 / 0.6069 GB, free: 11.26 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 (2): * Single equations (assignments): 2 * 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.0001828/0.4774, allocations: 214.2 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.4775, allocations: 39.53 kB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.4777, allocations: 112.1 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4777, allocations: 4.031 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4777, allocations: 4 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4777, allocations: 4 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.478, allocations: 325.4 kB / 0.6075 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.478, allocations: 0 / 0.6075 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.478, allocations: 7.984 kB / 0.6075 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4781, allocations: 3.938 kB / 0.6075 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.4781, allocations: 4 kB / 0.6075 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4781, allocations: 0 / 0.6075 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4781, allocations: 0 / 0.6075 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.4783, allocations: 195 kB / 0.6077 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.4785, allocations: 160.5 kB / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4786, allocations: 3.984 kB / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.4787, allocations: 7.984 kB / 0.6079 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.4787, allocations: 4 kB / 0.6079 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4787, allocations: 4.031 kB / 0.6079 GB, free: 10.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006641/0.4794, allocations: 0.6394 MB / 0.6085 GB, free: 9.453 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4794, allocations: 0 / 0.6085 GB, free: 9.453 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.4797, allocations: 55.92 kB / 0.6086 GB, free: 9.398 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 (2): * Single equations (assignments): 2 * 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.0007448/0.4804, allocations: 348 kB / 0.6089 GB, free: 9.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4806, allocations: 27.92 kB / 0.6089 GB, free: 9.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4806, allocations: 4 kB / 0.6089 GB, free: 9.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.4806, allocations: 11.98 kB / 0.609 GB, free: 9.137 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.4809, allocations: 21.92 kB / 0.609 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.4821, allocations: 0.8806 MB / 0.6098 GB, free: 8.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.4825, allocations: 0.8262 MB / 0.6106 GB, free: 7.355 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.4826, allocations: 32.19 kB / 0.6107 GB, free: 7.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.4827, allocations: 19.44 kB / 0.6107 GB, free: 7.301 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4827, allocations: 0 / 0.6107 GB, free: 7.301 MB / 426.7 MB Notification: Performance of Templates: time 0.005567/0.4883, allocations: 2.247 MB / 0.6129 GB, free: 5.047 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches