Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 193.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.5 MB / 244.1 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007023/0.0007023, allocations: 106.5 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3321/0.3321, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002786, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3395, allocations: 62.96 MB / 0.5165 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.457, allocations: 90.85 MB / 0.6052 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4573, allocations: 79.95 kB / 0.6053 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02695/0.4843, allocations: 10.47 MB / 0.6155 GB, free: 3.922 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.4843, allocations: 0 / 0.6155 GB, free: 3.922 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.4844, allocations: 15.94 kB / 0.6155 GB, free: 3.906 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.001208/0.4856, allocations: 0.8177 MB / 0.6163 GB, free: 3.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4857, allocations: 8.031 kB / 0.6163 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.4861, allocations: 108.1 kB / 0.6164 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.4868, allocations: 0.5159 MB / 0.6169 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4868, allocations: 8.375 kB / 0.6169 GB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.4869, allocations: 12.38 kB / 0.6169 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.4872, allocations: 155.6 kB / 0.6171 GB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4872, allocations: 4.094 kB / 0.6171 GB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4872, allocations: 15.92 kB / 0.6171 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4872, allocations: 0 / 0.6171 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.4875, allocations: 119.9 kB / 0.6172 GB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4886, allocations: 0.739 MB / 0.618 GB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.4889, allocations: 133.2 kB / 0.6181 GB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4891, allocations: 65.75 kB / 0.6181 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4891, allocations: 8 kB / 0.6182 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4891, allocations: 34.56 kB / 0.6182 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.4891, allocations: 0 / 0.6182 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001935/0.4911, allocations: 0.7675 MB / 0.6189 GB, free: 212 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4911, allocations: 81.05 kB / 0.619 GB, free: 112 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4922, allocations: 0.9025 MB / 0.6199 GB, free: 15.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.4923, allocations: 33.7 kB / 0.6199 GB, free: 15.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.4925, allocations: 264.3 kB / 0.6202 GB, free: 14.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.4925, allocations: 67 kB / 0.6202 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.4926, allocations: 4 kB / 0.6202 GB, free: 14.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4928, allocations: 374.8 kB / 0.6206 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.493, allocations: 103.9 kB / 0.6207 GB, free: 14.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.4933, allocations: 131.9 kB / 0.6208 GB, free: 14.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.4938, allocations: 249.5 kB / 0.6211 GB, free: 13.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.4938, allocations: 0 / 0.6211 GB, free: 13.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006862/0.4945, allocations: 340.8 kB / 0.6214 GB, free: 13.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4946, allocations: 12 kB / 0.6214 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4946, allocations: 0 / 0.6214 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.4946, allocations: 4 kB / 0.6214 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.4949, allocations: 63.95 kB / 0.6215 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4949, allocations: 0 / 0.6215 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4951, allocations: 31.97 kB / 0.6215 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.4952, allocations: 16.2 kB / 0.6215 GB, free: 13.5 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 (20): * Single equations (assignments): 20 * 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.0002316/0.4954, allocations: 205.7 kB / 0.6217 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4955, allocations: 67.31 kB / 0.6218 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/0.4963, allocations: 394.2 kB / 0.6221 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4963, allocations: 0 / 0.6221 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4963, allocations: 0 / 0.6221 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4963, allocations: 4 kB / 0.6222 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.4979, allocations: 1.005 MB / 0.6231 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4979, allocations: 7.984 kB / 0.6231 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.4981, allocations: 63.89 kB / 0.6232 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4981, allocations: 0 / 0.6232 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.4982, allocations: 8 kB / 0.6232 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4982, allocations: 0 / 0.6232 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4982, allocations: 3.984 kB / 0.6232 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.499, allocations: 0.5096 MB / 0.6237 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.4992, allocations: 184.3 kB / 0.6239 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.4992, allocations: 7.938 kB / 0.6239 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.4995, allocations: 35.97 kB / 0.6239 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.4996, allocations: 20.34 kB / 0.6239 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.4996, allocations: 11.94 kB / 0.624 GB, free: 10.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000783/0.5004, allocations: 0.6552 MB / 0.6246 GB, free: 10.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5004, allocations: 0 / 0.6246 GB, free: 10.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004375/0.5008, allocations: 91.86 kB / 0.6247 GB, free: 10.14 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 (20): * Single equations (assignments): 20 * 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.0009433/0.5018, allocations: 413.9 kB / 0.6251 GB, free: 9.875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.5024, allocations: 255.7 kB / 0.6253 GB, free: 9.625 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5024, allocations: 0 / 0.6253 GB, free: 9.625 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.5027, allocations: 139.9 kB / 0.6255 GB, free: 9.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.5033, allocations: 78.94 kB / 0.6255 GB, free: 9.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.5049, allocations: 1.107 MB / 0.6266 GB, free: 8.262 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5053, allocations: 0.8734 MB / 0.6275 GB, free: 7.363 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.5054, allocations: 55.34 kB / 0.6275 GB, free: 7.309 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5055, allocations: 0 / 0.6275 GB, free: 7.309 MB / 442.7 MB Notification: Performance of Templates: time 0.009306/0.5148, allocations: 6.42 MB / 0.6338 GB, free: 0.9141 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches