Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007801/0.0007798, allocations: 108.6 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3259/0.3259, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3525, allocations: 62.95 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4752, allocations: 89.88 MB / 0.6042 GB, free: 15.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4755, allocations: 71.97 kB / 0.6043 GB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01367/0.4891, allocations: 5.469 MB / 0.6097 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4892, allocations: 0 / 0.6097 GB, free: 9.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.4892, allocations: 0 / 0.6097 GB, free: 9.941 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.0005202/0.4897, allocations: 443.2 kB / 0.6101 GB, free: 9.457 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4898, allocations: 8.875 kB / 0.6101 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.4898, allocations: 8.844 kB / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.4901, allocations: 220 kB / 0.6103 GB, free: 9.188 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.4901, allocations: 4.375 kB / 0.6103 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.4901, allocations: 8.375 kB / 0.6103 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4903, allocations: 62.23 kB / 0.6104 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4903, allocations: 192 / 0.6104 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4903, allocations: 7.875 kB / 0.6104 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4904, allocations: 4 kB / 0.6104 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.4905, allocations: 51.91 kB / 0.6104 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.4909, allocations: 308.7 kB / 0.6107 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4911, allocations: 66.58 kB / 0.6108 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.4912, allocations: 28.97 kB / 0.6108 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.4912, allocations: 0 / 0.6108 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4912, allocations: 34.56 kB / 0.6109 GB, free: 8.547 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.4913, allocations: 0 / 0.6109 GB, free: 8.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001366/0.4926, allocations: 457 kB / 0.6113 GB, free: 8.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.4927, allocations: 59.34 kB / 0.6113 GB, free: 8.023 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.4929, allocations: 203.2 kB / 0.6115 GB, free: 7.809 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4929, allocations: 25.7 kB / 0.6116 GB, free: 7.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.4929, allocations: 108.1 kB / 0.6117 GB, free: 7.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.493, allocations: 35.45 kB / 0.6117 GB, free: 7.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.493, allocations: 0 / 0.6117 GB, free: 7.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4931, allocations: 326.8 kB / 0.612 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.4932, allocations: 51.97 kB / 0.6121 GB, free: 7.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.4933, allocations: 47.97 kB / 0.6121 GB, free: 7.207 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.4936, allocations: 119.4 kB / 0.6122 GB, free: 7.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4936, allocations: 0 / 0.6122 GB, free: 7.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003009/0.4939, allocations: 161.5 kB / 0.6124 GB, free: 6.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4939, allocations: 4 kB / 0.6124 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4939, allocations: 3.938 kB / 0.6124 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.494, allocations: 0 / 0.6124 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4941, allocations: 32.55 kB / 0.6124 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4941, allocations: 8 kB / 0.6124 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.4942, allocations: 19.91 kB / 0.6124 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.4942, allocations: 7.938 kB / 0.6125 GB, free: 6.852 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 8.878e-05/0.4943, allocations: 125.8 kB / 0.6126 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.4943, allocations: 15.81 kB / 0.6126 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.4947, allocations: 179 kB / 0.6128 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4947, allocations: 0 / 0.6128 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4947, allocations: 3.984 kB / 0.6128 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4947, allocations: 7.938 kB / 0.6128 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.4954, allocations: 500 kB / 0.6132 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4954, allocations: 4 kB / 0.6133 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.4955, allocations: 31.92 kB / 0.6133 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4955, allocations: 0 / 0.6133 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4955, allocations: 0 / 0.6133 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4955, allocations: 7.984 kB / 0.6133 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4955, allocations: 0 / 0.6133 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.4958, allocations: 269.2 kB / 0.6135 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4959, allocations: 104.8 kB / 0.6136 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.4959, allocations: 0 / 0.6136 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.496, allocations: 15.98 kB / 0.6137 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.4961, allocations: 11.98 kB / 0.6137 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4961, allocations: 4 kB / 0.6137 GB, free: 5.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.4962, allocations: 150 kB / 0.6138 GB, free: 5.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4962, allocations: 0 / 0.6138 GB, free: 5.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000266/0.4965, allocations: 35.94 kB / 0.6139 GB, free: 5.305 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.0009535/0.4975, allocations: 470.4 kB / 0.6143 GB, free: 5.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.4978, allocations: 127.9 kB / 0.6144 GB, free: 4.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4978, allocations: 0 / 0.6144 GB, free: 4.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4979, allocations: 59.91 kB / 0.6145 GB, free: 4.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4983, allocations: 27.92 kB / 0.6145 GB, free: 4.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.4988, allocations: 329.4 kB / 0.6148 GB, free: 4.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.4991, allocations: 0.716 MB / 0.6155 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.4991, allocations: 19.44 kB / 0.6155 GB, free: 3.676 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4992, allocations: 0 / 0.6155 GB, free: 3.676 MB / 426.7 MB Notification: Performance of Templates: time 0.00349/0.5026, allocations: 1.986 MB / 0.6175 GB, free: 1.695 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches