Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002183/0.002183, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, 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.001097/0.001096, allocations: 97.27 kB / 262.1 MB, free: 13.86 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.2934/0.2934, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.745e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3892, allocations: 58.85 MB / 477.1 MB, free: 5.246 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.5484, allocations: 85.99 MB / 0.5499 GB, free: 13.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.5487, allocations: 67.97 kB / 0.5499 GB, free: 13.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02935/0.5781, allocations: 7.699 MB / 0.5575 GB, free: 5.52 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5782, allocations: 0 / 0.5575 GB, free: 5.52 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.519e-05/0.5782, allocations: 4 kB / 0.5575 GB, free: 5.516 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007801/0.579, allocations: 0.5355 MB / 0.558 GB, free: 4.938 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5791, allocations: 12.03 kB / 0.558 GB, free: 4.926 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.5792, allocations: 43.39 kB / 0.558 GB, free: 4.883 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.5799, allocations: 327.3 kB / 0.5584 GB, free: 4.523 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5799, allocations: 3.984 kB / 0.5584 GB, free: 4.52 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.5799, allocations: 4 kB / 0.5584 GB, free: 4.516 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.322e-05/0.58, allocations: 8 kB / 0.5584 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.5801, allocations: 46.06 kB / 0.5584 GB, free: 4.457 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5801, allocations: 0 / 0.5584 GB, free: 4.457 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5802, allocations: 0 / 0.5584 GB, free: 4.457 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5802, allocations: 3.953 kB / 0.5584 GB, free: 4.453 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.581, allocations: 405.3 kB / 0.5588 GB, free: 4.02 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.581, allocations: 22.58 kB / 0.5588 GB, free: 3.988 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.5811, allocations: 8.922 kB / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.5811, allocations: 0 / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.5812, allocations: 34.56 kB / 0.5589 GB, free: 3.934 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.5812, allocations: 4 kB / 0.5589 GB, free: 3.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003884/0.5816, allocations: 77.19 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.5817, allocations: 51.41 kB / 0.559 GB, free: 3.785 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/0.5846, allocations: 0.755 MB / 0.5597 GB, free: 3.02 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.5847, allocations: 25.7 kB / 0.5598 GB, free: 2.988 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.5849, allocations: 234.5 kB / 0.56 GB, free: 2.758 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.585, allocations: 4.453 kB / 0.56 GB, free: 2.754 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.585, allocations: 0 / 0.56 GB, free: 2.754 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5851, allocations: 314.9 kB / 0.5603 GB, free: 2.438 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.5851, allocations: 12 kB / 0.5603 GB, free: 2.426 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.5852, allocations: 4 kB / 0.5603 GB, free: 2.422 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.5852, allocations: 3.938 kB / 0.5603 GB, free: 2.418 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5852, allocations: 3.984 kB / 0.5603 GB, free: 2.414 MB / 395.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001197/0.5854, allocations: 41.7 kB / 0.5603 GB, free: 2.367 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5854, allocations: 4 kB / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5854, allocations: 0 / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5854, allocations: 96 / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5856, allocations: 8 kB / 0.5604 GB, free: 2.355 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5856, allocations: 3.953 kB / 0.5604 GB, free: 2.352 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.5857, allocations: 7.984 kB / 0.5604 GB, free: 2.344 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5857, allocations: 4 kB / 0.5604 GB, free: 2.34 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.718e-05/0.5858, allocations: 104.9 kB / 0.5605 GB, free: 2.23 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5859, allocations: 35.53 kB / 0.5605 GB, free: 2.195 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.5862, allocations: 92.97 kB / 0.5606 GB, free: 2.094 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5862, allocations: 4.031 kB / 0.5606 GB, free: 2.09 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5862, allocations: 0 / 0.5606 GB, free: 2.09 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5862, allocations: 3.953 kB / 0.5606 GB, free: 2.086 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.5866, allocations: 313.8 kB / 0.5609 GB, free: 1.742 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5867, allocations: 0 / 0.5609 GB, free: 1.742 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.5867, allocations: 15.98 kB / 0.5609 GB, free: 1.727 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5868, allocations: 0 / 0.5609 GB, free: 1.727 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.5868, allocations: 0 / 0.5609 GB, free: 1.727 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.5868, allocations: 0 / 0.5609 GB, free: 1.727 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5868, allocations: 3.938 kB / 0.5609 GB, free: 1.723 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.587, allocations: 179 kB / 0.5611 GB, free: 1.531 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.5874, allocations: 160.5 kB / 0.5612 GB, free: 1.355 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.5874, allocations: 0 / 0.5612 GB, free: 1.355 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5876, allocations: 7.984 kB / 0.5613 GB, free: 1.348 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.5876, allocations: 0 / 0.5613 GB, free: 1.348 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5876, allocations: 0 / 0.5613 GB, free: 1.348 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.5887, allocations: 0.6082 MB / 0.5618 GB, free: 0.7422 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5887, allocations: 4.031 kB / 0.5619 GB, free: 0.7383 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.5891, allocations: 52 kB / 0.5619 GB, free: 0.6875 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 (2): * Single equations (assignments): 2 * 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.000878/0.59, allocations: 299 kB / 0.5622 GB, free: 436 kB / 395.1 MB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.5901, allocations: 8 kB / 0.5622 GB, free: 428 kB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5901, allocations: 4 kB / 0.5622 GB, free: 424 kB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.5902, allocations: 7.938 kB / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.5906, allocations: 33.83 kB / 0.5622 GB, free: 380 kB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.5922, allocations: 0.7279 MB / 0.5629 GB, free: 15.61 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.5928, allocations: 0.8302 MB / 0.5638 GB, free: 14.76 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.5929, allocations: 19.44 kB / 0.5638 GB, free: 14.74 MB / 411.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5929, allocations: 0 / 0.5638 GB, free: 14.74 MB / 411.1 MB Notification: Performance of Templates: time 0.01144/0.6044, allocations: 3.967 MB / 0.5677 GB, free: 10.76 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches