Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.00107, allocations: 199.2 kB / 16.79 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 226.5 MB / 244.1 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007752/0.0007753, allocations: 99.06 kB / 296.1 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3745/0.3745, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4073, allocations: 62.96 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.5326, allocations: 91.37 MB / 0.6057 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5329, allocations: 75.97 kB / 0.6058 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04362/0.5765, allocations: 10.31 MB / 0.6158 GB, free: 3.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5766, allocations: 0 / 0.6158 GB, free: 3.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.511e-05/0.5767, allocations: 8 kB / 0.6159 GB, free: 3.562 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002175/0.5789, allocations: 0.7865 MB / 0.6166 GB, free: 2.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.579, allocations: 16.02 kB / 0.6166 GB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005577/0.5796, allocations: 84.17 kB / 0.6167 GB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.5812, allocations: 0.52 MB / 0.6172 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.5813, allocations: 8.375 kB / 0.6172 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.5814, allocations: 16.36 kB / 0.6172 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.5819, allocations: 152.5 kB / 0.6174 GB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.5819, allocations: 8.094 kB / 0.6174 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.582, allocations: 7.938 kB / 0.6174 GB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.582, allocations: 4 kB / 0.6174 GB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.5825, allocations: 107.9 kB / 0.6175 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.5845, allocations: 0.7389 MB / 0.6182 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.5849, allocations: 121.2 kB / 0.6184 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.5852, allocations: 45.83 kB / 0.6184 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.5852, allocations: 4 kB / 0.6184 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/0.5853, allocations: 46.55 kB / 0.6184 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.566e-06/0.5853, allocations: 3.938 kB / 0.6184 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.002619/0.588, allocations: 0.5836 MB / 0.619 GB, free: 124 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.588, allocations: 81.11 kB / 0.6191 GB, free: 24 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.5898, allocations: 0.9141 MB / 0.62 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5898, allocations: 25.7 kB / 0.62 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.5901, allocations: 268.3 kB / 0.6203 GB, free: 14.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.5902, allocations: 51.2 kB / 0.6203 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.5902, allocations: 4 kB / 0.6203 GB, free: 14.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.5904, allocations: 374.8 kB / 0.6207 GB, free: 14.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.5906, allocations: 75.95 kB / 0.6207 GB, free: 14.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.5909, allocations: 85.67 kB / 0.6208 GB, free: 14.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.5913, allocations: 173.6 kB / 0.621 GB, free: 14.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5913, allocations: 4 kB / 0.621 GB, free: 14.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006322/0.592, allocations: 264.7 kB / 0.6213 GB, free: 13.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.592, allocations: 10.97 kB / 0.6213 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.592, allocations: 0 / 0.6213 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.592, allocations: 4 kB / 0.6213 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.5923, allocations: 39.97 kB / 0.6213 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5923, allocations: 0 / 0.6213 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.5925, allocations: 19.98 kB / 0.6213 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.5925, allocations: 4.219 kB / 0.6213 GB, free: 13.68 MB / 442.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 () * Number of clocked 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 0.0003122/0.5928, allocations: 221.7 kB / 0.6215 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.593, allocations: 63.12 kB / 0.6216 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.5938, allocations: 318.8 kB / 0.6219 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5938, allocations: 4 kB / 0.6219 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5938, allocations: 0.75 kB / 0.6219 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5938, allocations: 0 / 0.6219 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.5954, allocations: 0.9115 MB / 0.6228 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5955, allocations: 0 / 0.6228 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.5957, allocations: 47.91 kB / 0.6228 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5957, allocations: 0 / 0.6228 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.5957, allocations: 8 kB / 0.6229 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5957, allocations: 0 / 0.6229 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.5957, allocations: 4 kB / 0.6229 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.5964, allocations: 437.9 kB / 0.6233 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.5967, allocations: 184.3 kB / 0.6234 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.5969, allocations: 4 kB / 0.6235 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5971, allocations: 19.98 kB / 0.6235 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.5972, allocations: 11.98 kB / 0.6235 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.5972, allocations: 11.92 kB / 0.6235 GB, free: 11.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009812/0.5982, allocations: 0.663 MB / 0.6241 GB, free: 10.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5982, allocations: 0 / 0.6241 GB, free: 10.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004662/0.5987, allocations: 83.86 kB / 0.6242 GB, free: 10.61 MB / 442.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 () * Number of clocked 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.00108/0.5998, allocations: 427.9 kB / 0.6246 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.6003, allocations: 175.8 kB / 0.6248 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6004, allocations: 0 / 0.6248 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.6006, allocations: 91.88 kB / 0.6249 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.6014, allocations: 78.19 kB / 0.625 GB, free: 9.984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.603, allocations: 1.087 MB / 0.626 GB, free: 8.855 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.6035, allocations: 0.8734 MB / 0.6269 GB, free: 7.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6037, allocations: 51.36 kB / 0.6269 GB, free: 7.906 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6037, allocations: 0 / 0.6269 GB, free: 7.906 MB / 442.7 MB Notification: Performance of Templates: time 0.009159/0.6129, allocations: 6.236 MB / 0.633 GB, free: 1.68 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches