Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009735/0.0009733, allocations: 179.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008914/0.0008914, allocations: 88.97 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4133/0.4133, allocations: 43.56 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004397, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.5269, allocations: 86.95 MB / 0.5648 GB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.5272, allocations: 74.69 kB / 0.5649 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01749/0.5447, allocations: 7.983 MB / 0.5727 GB, free: 7.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5448, allocations: 0 / 0.5727 GB, free: 7.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.525e-05/0.5448, allocations: 4 kB / 0.5727 GB, free: 7.281 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001023/0.5458, allocations: 0.6288 MB / 0.5733 GB, free: 6.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5459, allocations: 12.03 kB / 0.5733 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.546, allocations: 44.38 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.5466, allocations: 344.1 kB / 0.5737 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5467, allocations: 8.312 kB / 0.5737 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.5467, allocations: 3.375 kB / 0.5737 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5468, allocations: 58.23 kB / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5469, allocations: 192 / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.5469, allocations: 3.938 kB / 0.5738 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.5469, allocations: 0 / 0.5738 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.547, allocations: 35.98 kB / 0.5738 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.5477, allocations: 436.6 kB / 0.5742 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.5479, allocations: 42.56 kB / 0.5743 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.548, allocations: 29 kB / 0.5743 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.548, allocations: 0 / 0.5743 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.548, allocations: 30.56 kB / 0.5743 GB, free: 5.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5481, allocations: 0 / 0.5743 GB, free: 5.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006885/0.5487, allocations: 249 kB / 0.5746 GB, free: 5.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.5488, allocations: 51.41 kB / 0.5746 GB, free: 5.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5502, allocations: 0.8495 MB / 0.5754 GB, free: 4.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5502, allocations: 25.7 kB / 0.5755 GB, free: 4.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.5505, allocations: 228.1 kB / 0.5757 GB, free: 4.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.5505, allocations: 11.8 kB / 0.5757 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.5505, allocations: 0 / 0.5757 GB, free: 4.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.5507, allocations: 362.7 kB / 0.576 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.5508, allocations: 23.98 kB / 0.5761 GB, free: 3.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.5509, allocations: 27.92 kB / 0.5761 GB, free: 3.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.5511, allocations: 52.83 kB / 0.5761 GB, free: 3.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5511, allocations: 0 / 0.5761 GB, free: 3.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002751/0.5514, allocations: 133.8 kB / 0.5763 GB, free: 3.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.5514, allocations: 4 kB / 0.5763 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5514, allocations: 0 / 0.5763 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5514, allocations: 0 / 0.5763 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.5515, allocations: 17.17 kB / 0.5763 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5515, allocations: 0 / 0.5763 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.5516, allocations: 15.88 kB / 0.5763 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5516, allocations: 3.984 kB / 0.5763 GB, free: 3.383 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0002534/0.5519, allocations: 222.3 kB / 0.5765 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.552, allocations: 39.53 kB / 0.5766 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.5523, allocations: 144.9 kB / 0.5767 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5524, allocations: 0 / 0.5767 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5524, allocations: 8 kB / 0.5767 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5524, allocations: 0.875 kB / 0.5767 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/0.5533, allocations: 0.5892 MB / 0.5773 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5534, allocations: 0 / 0.5773 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.5534, allocations: 16.36 kB / 0.5773 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5534, allocations: 4 kB / 0.5773 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.5535, allocations: 0 / 0.5773 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5535, allocations: 4 kB / 0.5773 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5535, allocations: 3.938 kB / 0.5773 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.5538, allocations: 223 kB / 0.5775 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.5539, allocations: 160.5 kB / 0.5777 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.554, allocations: 3.984 kB / 0.5777 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.5541, allocations: 8 kB / 0.5777 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.5541, allocations: 3.938 kB / 0.5777 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5542, allocations: 7.938 kB / 0.5777 GB, free: 1.855 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000753/0.5549, allocations: 0.6432 MB / 0.5783 GB, free: 1.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5549, allocations: 0 / 0.5783 GB, free: 1.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.5552, allocations: 56 kB / 0.5784 GB, free: 1.16 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0009282/0.5562, allocations: 411.4 kB / 0.5788 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.5564, allocations: 55.97 kB / 0.5788 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5564, allocations: 0 / 0.5788 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.5565, allocations: 35.92 kB / 0.5788 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.5569, allocations: 21.89 kB / 0.5789 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.5583, allocations: 0.9445 MB / 0.5798 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.5588, allocations: 0.8261 MB / 0.5806 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.5589, allocations: 27.67 kB / 0.5806 GB, free: 14.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5589, allocations: 4 kB / 0.5806 GB, free: 14.88 MB / 410.7 MB Notification: Performance of Templates: time 0.008696/0.5676, allocations: 4.229 MB / 0.5848 GB, free: 10.64 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches