Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002269/0.002269, allocations: 186 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001114/0.001114, allocations: 89.28 kB / 270.9 MB, free: 8.367 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.5005/0.5005, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004708, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 58.83 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5945, allocations: 87.13 MB / 0.5638 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5949, allocations: 78.95 kB / 0.5639 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02984/0.6247, allocations: 7.882 MB / 0.5716 GB, free: 7.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6248, allocations: 3.844 kB / 0.5716 GB, free: 7.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.837e-05/0.6248, allocations: 11.06 kB / 0.5716 GB, free: 7.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009446/0.6258, allocations: 0.6215 MB / 0.5722 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.6258, allocations: 12.02 kB / 0.5722 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6259, allocations: 47.44 kB / 0.5723 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.6266, allocations: 327.4 kB / 0.5726 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.6267, allocations: 0 / 0.5726 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.6267, allocations: 3.938 kB / 0.5726 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.6269, allocations: 50.72 kB / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6269, allocations: 0 / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6269, allocations: 4.547 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6269, allocations: 3.984 kB / 0.5726 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.6272, allocations: 35.92 kB / 0.5727 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009518/0.6281, allocations: 436.8 kB / 0.5731 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.6283, allocations: 30.52 kB / 0.5731 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.6283, allocations: 8.531 kB / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.6284, allocations: 34.56 kB / 0.5731 GB, free: 5.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 2.474e-06/0.6284, allocations: 0 / 0.5731 GB, free: 5.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004666/0.6289, allocations: 105.2 kB / 0.5732 GB, free: 5.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.6289, allocations: 55.34 kB / 0.5733 GB, free: 5.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.6312, allocations: 0.8019 MB / 0.5741 GB, free: 4.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.6312, allocations: 25.7 kB / 0.5741 GB, free: 4.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.6315, allocations: 242.5 kB / 0.5743 GB, free: 4.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.6315, allocations: 0 / 0.5743 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.6315, allocations: 4 kB / 0.5743 GB, free: 4.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6317, allocations: 318.9 kB / 0.5746 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.6318, allocations: 11.98 kB / 0.5747 GB, free: 4.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.6319, allocations: 16 kB / 0.5747 GB, free: 4.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.232e-05/0.632, allocations: 11.98 kB / 0.5747 GB, free: 4.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.632, allocations: 0 / 0.5747 GB, free: 4.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/0.6322, allocations: 57.59 kB / 0.5747 GB, free: 4.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6323, allocations: 4 kB / 0.5747 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6323, allocations: 0 / 0.5747 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.6323, allocations: 8.047 kB / 0.5748 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.6324, allocations: 15.92 kB / 0.5748 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6324, allocations: 0 / 0.5748 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.6326, allocations: 4 kB / 0.5748 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.6326, allocations: 0 / 0.5748 GB, free: 4.016 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 (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 0.00036/0.633, allocations: 213.8 kB / 0.575 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6331, allocations: 39.53 kB / 0.575 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.6335, allocations: 112.7 kB / 0.5751 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6335, allocations: 0.75 kB / 0.5751 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6335, allocations: 3.953 kB / 0.5751 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6335, allocations: 0 / 0.5751 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.634, allocations: 325.4 kB / 0.5754 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.634, allocations: 3.984 kB / 0.5754 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.6341, allocations: 4.75 kB / 0.5754 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.6341, allocations: 0 / 0.5754 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6341, allocations: 0 / 0.5754 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6342, allocations: 11.91 kB / 0.5755 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6342, allocations: 0 / 0.5755 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.6345, allocations: 195 kB / 0.5756 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.6348, allocations: 164.5 kB / 0.5758 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.6349, allocations: 0 / 0.5758 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.635, allocations: 8.031 kB / 0.5758 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.6351, allocations: 4 kB / 0.5758 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.6351, allocations: 3.938 kB / 0.5758 GB, free: 2.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.6363, allocations: 0.651 MB / 0.5764 GB, free: 2.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6364, allocations: 0 / 0.5764 GB, free: 2.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.6368, allocations: 47.94 kB / 0.5765 GB, free: 2.152 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 (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.0009929/0.6378, allocations: 354.6 kB / 0.5768 GB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.638, allocations: 27.92 kB / 0.5769 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6381, allocations: 0 / 0.5769 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.6381, allocations: 20.06 kB / 0.5769 GB, free: 1.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.6385, allocations: 22.3 kB / 0.5769 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.6405, allocations: 0.9327 MB / 0.5778 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.6411, allocations: 0.8301 MB / 0.5786 GB, free: 12 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.6413, allocations: 23.67 kB / 0.5786 GB, free: 15.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6413, allocations: 0 / 0.5786 GB, free: 15.99 MB / 410.7 MB Notification: Performance of Templates: time 0.01179/0.6531, allocations: 4.045 MB / 0.5826 GB, free: 11.94 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches