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.002172/0.002172, 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.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001147/0.001147, allocations: 96.41 kB / 270.9 MB, free: 8.387 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.5114/0.5114, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004878, allocations: 16 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5794, allocations: 86.73 MB / 0.5634 GB, free: 15.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5797, allocations: 75.95 kB / 0.5635 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02941/0.6092, allocations: 7.767 MB / 0.5711 GB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6092, allocations: 0 / 0.5711 GB, free: 8.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.6093, allocations: 8 kB / 0.5711 GB, free: 8.051 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.0009235/0.6102, allocations: 0.6208 MB / 0.5717 GB, free: 7.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.6103, allocations: 8.031 kB / 0.5717 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.6104, allocations: 43.47 kB / 0.5717 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.611, allocations: 324.4 kB / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.611, allocations: 4 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.6111, allocations: 0 / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.6113, allocations: 53.03 kB / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6113, allocations: 0 / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6113, allocations: 0 / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6113, allocations: 3.984 kB / 0.5721 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.6115, allocations: 31.94 kB / 0.5721 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.6123, allocations: 428.7 kB / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.6124, allocations: 26.58 kB / 0.5726 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.6124, allocations: 0 / 0.5726 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.6125, allocations: 38.61 kB / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.6125, allocations: 2.906 kB / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003953/0.6129, allocations: 105.1 kB / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.613, allocations: 51.41 kB / 0.5728 GB, free: 6.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.6149, allocations: 0.7863 MB / 0.5735 GB, free: 5.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.615, allocations: 25.7 kB / 0.5736 GB, free: 5.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.6152, allocations: 242.5 kB / 0.5738 GB, free: 5.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.6152, allocations: 11.89 kB / 0.5738 GB, free: 5.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.6153, allocations: 0 / 0.5738 GB, free: 5.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6154, allocations: 323.6 kB / 0.5741 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.6155, allocations: 11.98 kB / 0.5741 GB, free: 4.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/0.6156, allocations: 4 kB / 0.5741 GB, free: 4.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/0.6157, allocations: 15.98 kB / 0.5741 GB, free: 4.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6157, allocations: 0 / 0.5741 GB, free: 4.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002147/0.6159, allocations: 61.69 kB / 0.5742 GB, free: 4.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.616, allocations: 4.766 kB / 0.5742 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.616, allocations: 0 / 0.5742 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.616, allocations: 3.953 kB / 0.5742 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.6161, allocations: 11.98 kB / 0.5742 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6162, allocations: 0 / 0.5742 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.6163, allocations: 4 kB / 0.5742 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.6163, allocations: 0 / 0.5742 GB, free: 4.645 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.000328/0.6167, allocations: 217.7 kB / 0.5744 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.6168, allocations: 47.42 kB / 0.5745 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.6171, allocations: 108.6 kB / 0.5746 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.6172, allocations: 0 / 0.5746 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6172, allocations: 3.953 kB / 0.5746 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6172, allocations: 0 / 0.5746 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.6177, allocations: 321.5 kB / 0.5749 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.6177, allocations: 4.844 kB / 0.5749 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.6178, allocations: 4 kB / 0.5749 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6178, allocations: 0 / 0.5749 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.6178, allocations: 1.031 kB / 0.5749 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6178, allocations: 0 / 0.5749 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6178, allocations: 4 kB / 0.5749 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.6182, allocations: 202.9 kB / 0.5751 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.6185, allocations: 156.6 kB / 0.5753 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.6186, allocations: 0 / 0.5753 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.6187, allocations: 4 kB / 0.5753 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.6187, allocations: 0 / 0.5753 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.6188, allocations: 0 / 0.5753 GB, free: 3.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.62, allocations: 0.651 MB / 0.5759 GB, free: 2.844 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6201, allocations: 0 / 0.5759 GB, free: 2.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.6205, allocations: 63.91 kB / 0.576 GB, free: 2.781 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.001018/0.6215, allocations: 359.3 kB / 0.5763 GB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.6218, allocations: 27.98 kB / 0.5763 GB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6218, allocations: 0 / 0.5763 GB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.6219, allocations: 12 kB / 0.5763 GB, free: 2.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.6223, allocations: 21.95 kB / 0.5764 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.6243, allocations: 0.9248 MB / 0.5773 GB, free: 1.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.6249, allocations: 0.8336 MB / 0.5781 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.625, allocations: 15.44 kB / 0.5781 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.625, allocations: 0 / 0.5781 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of Templates: time 0.01169/0.6367, allocations: 3.987 MB / 0.582 GB, free: 12.64 MB / 410.7 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