Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 194.8 kB / 16.79 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 226.5 MB / 244.1 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007312/0.0007313, allocations: 92.56 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.32/0.32, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002682, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3558, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.4685, allocations: 89.88 MB / 0.6042 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.4689, allocations: 79.94 kB / 0.6043 GB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.4832, allocations: 5.493 MB / 0.6097 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4832, allocations: 0 / 0.6097 GB, free: 9.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4833, allocations: 4 kB / 0.6097 GB, free: 9.938 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.0005515/0.4838, allocations: 455.2 kB / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4839, allocations: 8.875 kB / 0.6101 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.4839, allocations: 16.73 kB / 0.6102 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4842, allocations: 208.8 kB / 0.6103 GB, free: 9.172 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.4842, allocations: 4.375 kB / 0.6104 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.4842, allocations: 4.375 kB / 0.6104 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4844, allocations: 78.09 kB / 0.6104 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4844, allocations: 192 / 0.6104 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4844, allocations: 7.938 kB / 0.6104 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4844, allocations: 0 / 0.6104 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.4846, allocations: 43.97 kB / 0.6105 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.485, allocations: 320.6 kB / 0.6108 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.4852, allocations: 58.55 kB / 0.6108 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.4853, allocations: 32.97 kB / 0.6109 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4853, allocations: 0 / 0.6109 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.4853, allocations: 30.56 kB / 0.6109 GB, free: 8.527 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.4853, allocations: 4 kB / 0.6109 GB, free: 8.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001375/0.4867, allocations: 469.3 kB / 0.6114 GB, free: 8.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.4868, allocations: 51.41 kB / 0.6114 GB, free: 7.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.487, allocations: 204.4 kB / 0.6116 GB, free: 7.785 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.487, allocations: 25.7 kB / 0.6116 GB, free: 7.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.4871, allocations: 108.1 kB / 0.6117 GB, free: 7.645 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.4871, allocations: 39.44 kB / 0.6118 GB, free: 7.605 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.4871, allocations: 0 / 0.6118 GB, free: 7.605 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4872, allocations: 326.8 kB / 0.6121 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4874, allocations: 47.97 kB / 0.6121 GB, free: 7.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.4875, allocations: 55.97 kB / 0.6122 GB, free: 7.176 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.4878, allocations: 112.8 kB / 0.6123 GB, free: 7.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4878, allocations: 0 / 0.6123 GB, free: 7.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003187/0.4881, allocations: 170.2 kB / 0.6124 GB, free: 6.891 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4881, allocations: 4 kB / 0.6124 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4881, allocations: 0 / 0.6124 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4881, allocations: 0 / 0.6124 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4883, allocations: 27.98 kB / 0.6125 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4883, allocations: 4 kB / 0.6125 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.4883, allocations: 19.92 kB / 0.6125 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4884, allocations: 4 kB / 0.6125 GB, free: 6.832 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.0001012/0.4885, allocations: 133.7 kB / 0.6126 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.479e-05/0.4885, allocations: 11.91 kB / 0.6126 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.4889, allocations: 179.9 kB / 0.6128 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4889, allocations: 7.984 kB / 0.6128 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4889, allocations: 0 / 0.6128 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4889, allocations: 7.875 kB / 0.6128 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.4896, allocations: 492.1 kB / 0.6133 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4896, allocations: 4.062 kB / 0.6133 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.857e-05/0.4897, allocations: 31.92 kB / 0.6133 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4897, allocations: 3.984 kB / 0.6133 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4897, allocations: 8 kB / 0.6133 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4897, allocations: 0 / 0.6133 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4897, allocations: 3.938 kB / 0.6133 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.4901, allocations: 265.1 kB / 0.6136 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.4902, allocations: 100.9 kB / 0.6137 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.4902, allocations: 4 kB / 0.6137 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.4903, allocations: 15.98 kB / 0.6137 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.4904, allocations: 11.98 kB / 0.6137 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.4904, allocations: 4 kB / 0.6137 GB, free: 5.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4905, allocations: 152.8 kB / 0.6139 GB, free: 5.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4905, allocations: 0 / 0.6139 GB, free: 5.312 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.4908, allocations: 39.98 kB / 0.6139 GB, free: 5.273 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.0009065/0.4917, allocations: 471.2 kB / 0.6144 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.492, allocations: 119.9 kB / 0.6145 GB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.492, allocations: 0 / 0.6145 GB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4922, allocations: 71.91 kB / 0.6145 GB, free: 4.781 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4925, allocations: 24.94 kB / 0.6146 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.493, allocations: 337.4 kB / 0.6149 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.4933, allocations: 0.7121 MB / 0.6156 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.4934, allocations: 15.44 kB / 0.6156 GB, free: 3.641 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4934, allocations: 7.938 kB / 0.6156 GB, free: 3.633 MB / 426.7 MB Notification: Performance of Templates: time 0.003548/0.4969, allocations: 2.006 MB / 0.6176 GB, free: 1.629 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches