Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009082/0.0009083, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.216/1.216, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 91.8 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1774/0.1774, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.196e-05, allocations: 4 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.09975, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.461, allocations: 89.11 MB / 0.5887 GB, free: 228 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4613, allocations: 71.97 kB / 0.5888 GB, free: 156 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0109/0.4722, allocations: 4.544 MB / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4722, allocations: 0 / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4722, allocations: 4 kB / 0.5932 GB, free: 11.61 MB / 410.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.0003381/0.4726, allocations: 378.3 kB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4726, allocations: 8.031 kB / 0.5936 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.4727, allocations: 4 kB / 0.5936 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4729, allocations: 202.8 kB / 0.5938 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.4729, allocations: 7.891 kB / 0.5938 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4729, allocations: 4 kB / 0.5938 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.4731, allocations: 67.39 kB / 0.5939 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4731, allocations: 4 kB / 0.5939 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4731, allocations: 4 kB / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4731, allocations: 0 / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.4732, allocations: 16 kB / 0.5939 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.4736, allocations: 320.7 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.4737, allocations: 38.58 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.4737, allocations: 16.86 kB / 0.5943 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4737, allocations: 0 / 0.5943 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4738, allocations: 38.64 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4738, allocations: 4 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004539/0.4742, allocations: 149.3 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.4743, allocations: 81.11 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4744, allocations: 130.4 kB / 0.5946 GB, free: 9.961 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4745, allocations: 29.7 kB / 0.5947 GB, free: 9.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.4745, allocations: 104.1 kB / 0.5948 GB, free: 9.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.4745, allocations: 19.62 kB / 0.5948 GB, free: 9.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4746, allocations: 0 / 0.5948 GB, free: 9.801 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.4747, allocations: 326.8 kB / 0.5951 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.4747, allocations: 23.98 kB / 0.5951 GB, free: 9.449 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.4748, allocations: 37.66 kB / 0.5952 GB, free: 9.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.4748, allocations: 32.2 kB / 0.5952 GB, free: 9.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4748, allocations: 0 / 0.5952 GB, free: 9.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001182/0.4749, allocations: 85.58 kB / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.475, allocations: 4 kB / 0.5953 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.475, allocations: 4 kB / 0.5953 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.475, allocations: 0 / 0.5953 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4751, allocations: 24.02 kB / 0.5953 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4751, allocations: 0 / 0.5953 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.4752, allocations: 15.98 kB / 0.5953 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.4752, allocations: 0 / 0.5953 GB, free: 9.238 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/0.4753, allocations: 120.8 kB / 0.5954 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.4753, allocations: 7.906 kB / 0.5954 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.4755, allocations: 114.1 kB / 0.5956 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4755, allocations: 0 / 0.5956 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4755, allocations: 0 / 0.5956 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4755, allocations: 0 / 0.5956 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.4759, allocations: 378.4 kB / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4759, allocations: 0 / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.476, allocations: 23.98 kB / 0.5959 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.476, allocations: 0 / 0.5959 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.476, allocations: 8 kB / 0.5959 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.476, allocations: 0 / 0.5959 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.476, allocations: 0 / 0.5959 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.4762, allocations: 191.3 kB / 0.5961 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.4763, allocations: 93.14 kB / 0.5962 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.4763, allocations: 3.984 kB / 0.5962 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.4764, allocations: 19.98 kB / 0.5962 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.4765, allocations: 4 kB / 0.5962 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4765, allocations: 0 / 0.5962 GB, free: 8.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.606e-05/0.4765, allocations: 113.9 kB / 0.5963 GB, free: 8.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4765, allocations: 0 / 0.5963 GB, free: 8.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.4768, allocations: 39.94 kB / 0.5964 GB, free: 8.043 MB / 410.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 () * 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 (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.0008329/0.4776, allocations: 410.8 kB / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.4778, allocations: 59.92 kB / 0.5968 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4778, allocations: 0 / 0.5968 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.4778, allocations: 24 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.478, allocations: 18.02 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.4783, allocations: 141.6 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4786, allocations: 0.7004 MB / 0.5977 GB, free: 6.762 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.808e-05/0.4786, allocations: 20.64 kB / 0.5977 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.4787, allocations: 11.44 kB / 0.5977 GB, free: 6.727 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4787, allocations: 0 / 0.5977 GB, free: 6.727 MB / 410.7 MB Notification: Performance of Templates: time 0.003708/0.4824, allocations: 1.471 MB / 0.5992 GB, free: 5.262 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches