Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 198.3 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.371/1.371, allocations: 226.5 MB / 244.1 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007469/0.0007469, allocations: 109.3 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.298/0.298, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003123, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3135, allocations: 62.95 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.4187, allocations: 92.28 MB / 0.6066 GB, free: 13.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.419, allocations: 71.97 kB / 0.6067 GB, free: 13.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0263/0.4453, allocations: 10.14 MB / 0.6166 GB, free: 2.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4454, allocations: 0 / 0.6166 GB, free: 2.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.897e-05/0.4454, allocations: 12 kB / 0.6166 GB, free: 2.855 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000937/0.4464, allocations: 0.6506 MB / 0.6172 GB, free: 2.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.4464, allocations: 12.03 kB / 0.6172 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.4465, allocations: 40.38 kB / 0.6173 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.4471, allocations: 401.9 kB / 0.6176 GB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4471, allocations: 384 / 0.6176 GB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.4472, allocations: 12.36 kB / 0.6177 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.4474, allocations: 90.22 kB / 0.6177 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4474, allocations: 192 / 0.6177 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4474, allocations: 11.92 kB / 0.6177 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.4474, allocations: 0 / 0.6177 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.4476, allocations: 71.95 kB / 0.6178 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.4483, allocations: 496.4 kB / 0.6183 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.4485, allocations: 74.53 kB / 0.6184 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/0.4485, allocations: 40.91 kB / 0.6184 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.4486, allocations: 4 kB / 0.6184 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4486, allocations: 42.44 kB / 0.6184 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4486, allocations: 0 / 0.6184 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003615/0.449, allocations: 157.2 kB / 0.6186 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.449, allocations: 55.41 kB / 0.6186 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.4498, allocations: 0.5877 MB / 0.6192 GB, free: 15.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4498, allocations: 25.7 kB / 0.6192 GB, free: 15.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4499, allocations: 220 kB / 0.6195 GB, free: 15.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.45, allocations: 19.64 kB / 0.6195 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.45, allocations: 4 kB / 0.6195 GB, free: 15.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4501, allocations: 354.8 kB / 0.6198 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.4502, allocations: 27.92 kB / 0.6198 GB, free: 15.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.4503, allocations: 31.97 kB / 0.6199 GB, free: 15.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4505, allocations: 68.83 kB / 0.6199 GB, free: 15.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4505, allocations: 0 / 0.6199 GB, free: 15.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002188/0.4507, allocations: 133.2 kB / 0.6201 GB, free: 15.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4507, allocations: 4 kB / 0.6201 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4507, allocations: 0 / 0.6201 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4507, allocations: 4 kB / 0.6201 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.4508, allocations: 8 kB / 0.6201 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.4508, allocations: 11.92 kB / 0.6201 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.4509, allocations: 11.94 kB / 0.6201 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4509, allocations: 0 / 0.6201 GB, free: 15.01 MB / 442.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 (6): * Single equations (assignments): 6 * 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.0001613/0.4511, allocations: 173.8 kB / 0.6203 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.4512, allocations: 43.44 kB / 0.6203 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.4515, allocations: 153.2 kB / 0.6205 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.4515, allocations: 4 kB / 0.6205 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4515, allocations: 0 / 0.6205 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4515, allocations: 7.922 kB / 0.6205 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.4518, allocations: 321.4 kB / 0.6208 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4518, allocations: 0.5 kB / 0.6208 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.4519, allocations: 19.92 kB / 0.6208 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4519, allocations: 0 / 0.6208 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4519, allocations: 4 kB / 0.6208 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4519, allocations: 0 / 0.6208 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4519, allocations: 4 kB / 0.6208 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.4522, allocations: 238.8 kB / 0.621 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.4524, allocations: 148.6 kB / 0.6212 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4524, allocations: 0 / 0.6212 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.4525, allocations: 4 kB / 0.6212 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.4526, allocations: 11.92 kB / 0.6212 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.4526, allocations: 12 kB / 0.6212 GB, free: 13.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004845/0.4531, allocations: 434.8 kB / 0.6216 GB, free: 13.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4531, allocations: 3.938 kB / 0.6216 GB, free: 13.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.4534, allocations: 55.84 kB / 0.6217 GB, free: 13.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.001263/0.4547, allocations: 0.5866 MB / 0.6222 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.4549, allocations: 71.95 kB / 0.6223 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4549, allocations: 3.938 kB / 0.6223 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.455, allocations: 39.91 kB / 0.6224 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.4554, allocations: 62.72 kB / 0.6224 GB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.4565, allocations: 0.7536 MB / 0.6232 GB, free: 11.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.4569, allocations: 0.8103 MB / 0.6239 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.457, allocations: 31.42 kB / 0.624 GB, free: 11.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.457, allocations: 0 / 0.624 GB, free: 11.12 MB / 442.7 MB Notification: Performance of Templates: time 0.006915/0.4639, allocations: 4.389 MB / 0.6283 GB, free: 6.734 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches