Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009967/0.0009967, allocations: 193.7 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007734/0.0007734, allocations: 114.9 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.356/0.356, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002871, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3614, allocations: 62.96 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4753, allocations: 90.34 MB / 0.6047 GB, free: 15.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4756, allocations: 67.97 kB / 0.6048 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.4902, allocations: 5.602 MB / 0.6102 GB, free: 9.359 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4902, allocations: 0 / 0.6102 GB, free: 9.359 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.4902, allocations: 7.938 kB / 0.6102 GB, free: 9.352 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005542/0.4908, allocations: 447.2 kB / 0.6107 GB, free: 8.863 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4909, allocations: 8.875 kB / 0.6107 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.4909, allocations: 16.75 kB / 0.6107 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.4912, allocations: 216.7 kB / 0.6109 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4912, allocations: 4.375 kB / 0.6109 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4912, allocations: 4.375 kB / 0.6109 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4914, allocations: 70.22 kB / 0.611 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4914, allocations: 192 / 0.611 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4915, allocations: 11.94 kB / 0.611 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4915, allocations: 0 / 0.611 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.4916, allocations: 51.95 kB / 0.611 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.4921, allocations: 336.6 kB / 0.6113 GB, free: 8.062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.4924, allocations: 66.55 kB / 0.6114 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.4925, allocations: 33.06 kB / 0.6114 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.4925, allocations: 3.938 kB / 0.6114 GB, free: 7.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.4925, allocations: 30.56 kB / 0.6115 GB, free: 7.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.024e-06/0.4925, allocations: 0 / 0.6115 GB, free: 7.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0015/0.494, allocations: 499.6 kB / 0.612 GB, free: 7.418 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4941, allocations: 51.41 kB / 0.612 GB, free: 7.355 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.4943, allocations: 208 kB / 0.6122 GB, free: 7.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.4943, allocations: 29.64 kB / 0.6122 GB, free: 7.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.4944, allocations: 108 kB / 0.6123 GB, free: 7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.4944, allocations: 39.45 kB / 0.6124 GB, free: 6.961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.4945, allocations: 8 kB / 0.6124 GB, free: 6.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4946, allocations: 326.8 kB / 0.6127 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4947, allocations: 59.91 kB / 0.6127 GB, free: 6.566 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4949, allocations: 67.95 kB / 0.6128 GB, free: 6.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.4952, allocations: 144.7 kB / 0.6129 GB, free: 6.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4952, allocations: 0 / 0.6129 GB, free: 6.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003466/0.4955, allocations: 173.5 kB / 0.6131 GB, free: 6.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4956, allocations: 12 kB / 0.6131 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4956, allocations: 4.547 kB / 0.6131 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4956, allocations: 0 / 0.6131 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4957, allocations: 27.98 kB / 0.6132 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4957, allocations: 3.938 kB / 0.6132 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.4958, allocations: 23.92 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.4958, allocations: 4 kB / 0.6132 GB, free: 6.105 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 (11): * Single equations (assignments): 11 * 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.0001097/0.496, allocations: 129.8 kB / 0.6133 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.496, allocations: 15.81 kB / 0.6133 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.4964, allocations: 209.5 kB / 0.6135 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4965, allocations: 4 kB / 0.6135 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4965, allocations: 3.938 kB / 0.6135 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4965, allocations: 3.938 kB / 0.6135 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.4972, allocations: 0.5234 MB / 0.614 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4972, allocations: 4 kB / 0.614 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.4974, allocations: 39.92 kB / 0.6141 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4974, allocations: 0 / 0.6141 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4974, allocations: 4 kB / 0.6141 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4974, allocations: 0 / 0.6141 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4974, allocations: 0 / 0.6141 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.4978, allocations: 285.2 kB / 0.6144 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.4979, allocations: 100.8 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4979, allocations: 8 kB / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.498, allocations: 15.98 kB / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.4981, allocations: 11.98 kB / 0.6145 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.4981, allocations: 7.938 kB / 0.6145 GB, free: 4.645 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.4982, allocations: 147.2 kB / 0.6146 GB, free: 4.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4982, allocations: 0 / 0.6146 GB, free: 4.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.4985, allocations: 32 kB / 0.6147 GB, free: 4.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009884/0.4995, allocations: 468.3 kB / 0.6151 GB, free: 4.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.4999, allocations: 143.8 kB / 0.6153 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4999, allocations: 3.938 kB / 0.6153 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.5001, allocations: 84.02 kB / 0.6153 GB, free: 3.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.5004, allocations: 21.83 kB / 0.6154 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.501, allocations: 369 kB / 0.6157 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.5013, allocations: 0.716 MB / 0.6164 GB, free: 2.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.5013, allocations: 19.42 kB / 0.6164 GB, free: 2.766 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5013, allocations: 0 / 0.6164 GB, free: 2.766 MB / 426.7 MB Notification: Performance of Templates: time 0.004013/0.5054, allocations: 2.141 MB / 0.6185 GB, free: 0.625 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches