Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009775/0.0009779, allocations: 179.3 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.269/1.269, allocations: 221.3 MB / 236 MB, free: 2.992 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.0008473/0.0008471, allocations: 95.78 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.1776/0.1776, allocations: 44.15 MB / 382.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.336e-05, allocations: 4 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3446/0.4537, allocations: 89.95 MB / 0.5896 GB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4539, allocations: 71.95 kB / 0.5896 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.4754, allocations: 9.079 MB / 0.5985 GB, free: 6.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4755, allocations: 0 / 0.5985 GB, free: 6.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.4755, allocations: 12 kB / 0.5985 GB, free: 6.227 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006356/0.4762, allocations: 0.622 MB / 0.5991 GB, free: 5.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4762, allocations: 12.03 kB / 0.5991 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.4763, allocations: 55.28 kB / 0.5992 GB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006493/0.477, allocations: 483 kB / 0.5996 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.477, allocations: 8 kB / 0.5996 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.477, allocations: 15.91 kB / 0.5997 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.4773, allocations: 142.4 kB / 0.5998 GB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4773, allocations: 4 kB / 0.5998 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4773, allocations: 0 / 0.5998 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4773, allocations: 4 kB / 0.5998 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.4775, allocations: 83.91 kB / 0.5999 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.4785, allocations: 0.7229 MB / 0.6006 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.4787, allocations: 117.2 kB / 0.6007 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.4787, allocations: 33.84 kB / 0.6007 GB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.4788, allocations: 7.984 kB / 0.6007 GB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4788, allocations: 34.56 kB / 0.6008 GB, free: 3.715 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.4788, allocations: 0 / 0.6008 GB, free: 3.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009906/0.4798, allocations: 474 kB / 0.6012 GB, free: 3.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4799, allocations: 81.11 kB / 0.6013 GB, free: 3.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.4808, allocations: 0.79 MB / 0.6021 GB, free: 2.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4808, allocations: 29.7 kB / 0.6021 GB, free: 2.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.481, allocations: 252.3 kB / 0.6023 GB, free: 2.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.4811, allocations: 63.39 kB / 0.6024 GB, free: 1.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.4811, allocations: 0 / 0.6024 GB, free: 1.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4812, allocations: 378.7 kB / 0.6028 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.4813, allocations: 47.98 kB / 0.6028 GB, free: 1.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.4814, allocations: 63.19 kB / 0.6029 GB, free: 1.504 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.4815, allocations: 51.97 kB / 0.6029 GB, free: 1.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4815, allocations: 0 / 0.6029 GB, free: 1.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000292/0.4818, allocations: 205 kB / 0.6031 GB, free: 1.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4819, allocations: 8 kB / 0.6031 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4819, allocations: 0 / 0.6031 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4819, allocations: 4 kB / 0.6031 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.4821, allocations: 47.91 kB / 0.6032 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4821, allocations: 0 / 0.6032 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.4823, allocations: 15.98 kB / 0.6032 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4823, allocations: 8 kB / 0.6032 GB, free: 1.164 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.027e-05/0.4824, allocations: 112.9 kB / 0.6033 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.4825, allocations: 55.25 kB / 0.6033 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.4829, allocations: 262.4 kB / 0.6036 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4829, allocations: 4 kB / 0.6036 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4829, allocations: 0 / 0.6036 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.483, allocations: 4 kB / 0.6036 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.484, allocations: 0.8449 MB / 0.6044 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.484, allocations: 3.938 kB / 0.6044 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.4842, allocations: 39.97 kB / 0.6045 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4842, allocations: 4 kB / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4842, allocations: 8 kB / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4843, allocations: 0.6875 kB / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4843, allocations: 3.938 kB / 0.6045 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.4847, allocations: 395.7 kB / 0.6049 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.4849, allocations: 180.4 kB / 0.605 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.4849, allocations: 12 kB / 0.6051 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4851, allocations: 19.98 kB / 0.6051 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4852, allocations: 11.94 kB / 0.6051 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4852, allocations: 4 kB / 0.6051 GB, free: 15.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007529/0.486, allocations: 0.6303 MB / 0.6057 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.154e-06/0.486, allocations: 0 / 0.6057 GB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.4864, allocations: 83.86 kB / 0.6058 GB, free: 14.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008877/0.4873, allocations: 373.1 kB / 0.6061 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.4875, allocations: 123.9 kB / 0.6063 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4875, allocations: 0 / 0.6063 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4877, allocations: 71.92 kB / 0.6063 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.4881, allocations: 65.91 kB / 0.6064 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4894, allocations: 0.7173 MB / 0.6071 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.4899, allocations: 0.8772 MB / 0.6079 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.4901, allocations: 111.8 kB / 0.6081 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4902, allocations: 43.42 kB / 0.6081 GB, free: 12.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4902, allocations: 0 / 0.6081 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Templates: time 0.009044/0.4993, allocations: 4.389 MB / 0.6124 GB, free: 7.699 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches