Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002168/0.002167, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 85.81 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.118e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3971, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.5561, allocations: 85.47 MB / 0.5494 GB, free: 13.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5564, allocations: 67.97 kB / 0.5494 GB, free: 13.78 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.567, allocations: 2.87 MB / 0.5522 GB, free: 10.89 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.567, allocations: 0 / 0.5522 GB, free: 10.89 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.5671, allocations: 0 / 0.5522 GB, free: 10.89 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003657/0.5674, allocations: 348.6 kB / 0.5526 GB, free: 10.51 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5675, allocations: 8.031 kB / 0.5526 GB, free: 10.5 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.5676, allocations: 24.19 kB / 0.5526 GB, free: 10.48 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.5678, allocations: 173.9 kB / 0.5528 GB, free: 10.27 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5678, allocations: 4 kB / 0.5528 GB, free: 10.27 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.5678, allocations: 4 kB / 0.5528 GB, free: 10.26 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001248/0.568, allocations: 31.98 kB / 0.5528 GB, free: 10.23 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.5682, allocations: 167.4 kB / 0.553 GB, free: 10.01 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5682, allocations: 3.938 kB / 0.553 GB, free: 10.01 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.5683, allocations: 7.953 kB / 0.553 GB, free: 10 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.5683, allocations: 7.984 kB / 0.553 GB, free: 9.992 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.5695, allocations: 1.686 MB / 0.5546 GB, free: 8.211 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.5697, allocations: 169.1 kB / 0.5548 GB, free: 8.035 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.5697, allocations: 80.14 kB / 0.5549 GB, free: 7.953 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.5698, allocations: 75.28 kB / 0.5549 GB, free: 7.879 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.5698, allocations: 109.8 kB / 0.555 GB, free: 7.762 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.5698, allocations: 4 kB / 0.555 GB, free: 7.758 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 9.269e-05/0.5699, allocations: 37.55 kB / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.57, allocations: 51.41 kB / 0.5551 GB, free: 7.652 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.5702, allocations: 168.1 kB / 0.5553 GB, free: 7.484 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5702, allocations: 25.7 kB / 0.5553 GB, free: 7.453 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5704, allocations: 217.5 kB / 0.5555 GB, free: 7.238 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/0.5704, allocations: 3.984 kB / 0.5555 GB, free: 7.234 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.5704, allocations: 0 / 0.5555 GB, free: 7.234 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5706, allocations: 322.8 kB / 0.5558 GB, free: 6.91 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.5706, allocations: 27.98 kB / 0.5559 GB, free: 6.883 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5708, allocations: 148.6 kB / 0.556 GB, free: 6.68 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.571, allocations: 67.92 kB / 0.5561 GB, free: 6.613 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.571, allocations: 4 kB / 0.5561 GB, free: 6.609 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003914/0.5714, allocations: 165.2 kB / 0.5562 GB, free: 6.441 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5714, allocations: 8.547 kB / 0.5562 GB, free: 6.434 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5715, allocations: 7.953 kB / 0.5562 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5715, allocations: 8.625 kB / 0.5562 GB, free: 6.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.5717, allocations: 39.92 kB / 0.5563 GB, free: 6.379 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.5718, allocations: 8 kB / 0.5563 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.5719, allocations: 23.77 kB / 0.5563 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.5719, allocations: 12 kB / 0.5563 GB, free: 6.336 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001276/0.5721, allocations: 188.1 kB / 0.5565 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/0.5722, allocations: 116.7 kB / 0.5566 GB, free: 6.023 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.5722, allocations: 116.9 kB / 0.5567 GB, free: 5.898 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-05/0.5723, allocations: 184.2 kB / 0.5569 GB, free: 5.711 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-05/0.5724, allocations: 182.8 kB / 0.5571 GB, free: 5.527 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-05/0.5725, allocations: 188.2 kB / 0.5573 GB, free: 5.336 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.5728, allocations: 397.8 kB / 0.5576 GB, free: 4.902 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.5729, allocations: 104.9 kB / 0.5577 GB, free: 4.793 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.5729, allocations: 109 kB / 0.5578 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.352e-05/0.573, allocations: 176.3 kB / 0.558 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/0.5731, allocations: 180.2 kB / 0.5582 GB, free: 4.316 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.493e-05/0.5732, allocations: 184.3 kB / 0.5584 GB, free: 4.129 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-05/0.5733, allocations: 176.3 kB / 0.5585 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.5735, allocations: 319.6 kB / 0.5588 GB, free: 3.613 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5736, allocations: 182 kB / 0.559 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.866e-05/0.5737, allocations: 192.2 kB / 0.5592 GB, free: 3.215 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5739, allocations: 108.9 kB / 0.5593 GB, free: 3.102 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.574, allocations: 176.3 kB / 0.5595 GB, free: 2.922 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.574, allocations: 108.9 kB / 0.5596 GB, free: 2.809 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.5742, allocations: 132 kB / 0.5597 GB, free: 2.68 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5742, allocations: 0 / 0.5597 GB, free: 2.68 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.5746, allocations: 12 kB / 0.5597 GB, free: 2.668 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0006037/0.5752, allocations: 256.1 kB / 0.5599 GB, free: 2.426 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.5754, allocations: 63.86 kB / 0.56 GB, free: 2.363 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5754, allocations: 0 / 0.56 GB, free: 2.363 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/0.5755, allocations: 3.938 kB / 0.56 GB, free: 2.359 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.5759, allocations: 0.5275 MB / 0.5605 GB, free: 1.828 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.5763, allocations: 233.5 kB / 0.5607 GB, free: 1.566 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.5767, allocations: 0.7045 MB / 0.5614 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.5767, allocations: 15.44 kB / 0.5614 GB, free: 0.8203 MB / 395.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5768, allocations: 0 / 0.5614 GB, free: 0.8203 MB / 395.1 MB Notification: Performance of Templates: time 0.003952/0.5807, allocations: 1.273 MB / 0.5627 GB, free: 15.54 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches