Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001455, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.897/1.897, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001119/0.001118, allocations: 97.72 kB / 270.9 MB, free: 8.371 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.5771/0.5771, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004476, allocations: 8 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5752, allocations: 88.58 MB / 0.5652 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5756, allocations: 75.97 kB / 0.5653 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03756/0.6131, allocations: 8.398 MB / 0.5735 GB, free: 5.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6132, allocations: 0 / 0.5735 GB, free: 5.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.6133, allocations: 12 kB / 0.5735 GB, free: 5.703 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001077/0.6143, allocations: 0.634 MB / 0.5741 GB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.6144, allocations: 12.03 kB / 0.5742 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.6145, allocations: 35.53 kB / 0.5742 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.6153, allocations: 341.2 kB / 0.5745 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6153, allocations: 4 kB / 0.5745 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.6154, allocations: 15.91 kB / 0.5745 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.6157, allocations: 112.7 kB / 0.5746 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.6158, allocations: 1.031 kB / 0.5746 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.6158, allocations: 4 kB / 0.5746 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.6158, allocations: 4 kB / 0.5746 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.6161, allocations: 75.84 kB / 0.5747 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.6172, allocations: 0.5042 MB / 0.5752 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.6175, allocations: 87.3 kB / 0.5753 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.6175, allocations: 11.97 kB / 0.5753 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.6176, allocations: 34.5 kB / 0.5753 GB, free: 3.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.785e-06/0.6176, allocations: 4 kB / 0.5753 GB, free: 3.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001526/0.6191, allocations: 395.5 kB / 0.5757 GB, free: 3.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.6192, allocations: 59.41 kB / 0.5758 GB, free: 3.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6202, allocations: 493.1 kB / 0.5762 GB, free: 2.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.6203, allocations: 29.7 kB / 0.5763 GB, free: 2.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.6205, allocations: 238.7 kB / 0.5765 GB, free: 2.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.6206, allocations: 51.2 kB / 0.5765 GB, free: 2.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.6206, allocations: 4 kB / 0.5766 GB, free: 2.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6208, allocations: 318.8 kB / 0.5769 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.621, allocations: 55.97 kB / 0.5769 GB, free: 2.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.6212, allocations: 55.88 kB / 0.577 GB, free: 1.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.6215, allocations: 59.98 kB / 0.577 GB, free: 1.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6215, allocations: 0 / 0.577 GB, free: 1.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005456/0.622, allocations: 176.3 kB / 0.5772 GB, free: 1.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6221, allocations: 4 kB / 0.5772 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6221, allocations: 0 / 0.5772 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6221, allocations: 0 / 0.5772 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.6224, allocations: 39.98 kB / 0.5772 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6224, allocations: 0 / 0.5772 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.6226, allocations: 19.92 kB / 0.5773 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.6227, allocations: 8 kB / 0.5773 GB, free: 1.68 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 (17): * Single equations (assignments): 17 * 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.0003078/0.623, allocations: 185.6 kB / 0.5774 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6231, allocations: 43.44 kB / 0.5775 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/0.6239, allocations: 241.5 kB / 0.5777 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6239, allocations: 4 kB / 0.5777 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6239, allocations: 0 / 0.5777 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.624, allocations: 0 / 0.5777 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.6255, allocations: 0.6855 MB / 0.5784 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.6255, allocations: 4 kB / 0.5784 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.6258, allocations: 35.92 kB / 0.5784 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.6258, allocations: 0 / 0.5784 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.6258, allocations: 4 kB / 0.5784 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.6259, allocations: 11.94 kB / 0.5784 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6259, allocations: 0 / 0.5784 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.6266, allocations: 305.8 kB / 0.5787 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.6269, allocations: 136.6 kB / 0.5789 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.6269, allocations: 8 kB / 0.5789 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.6271, allocations: 7.984 kB / 0.5789 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.6272, allocations: 23.94 kB / 0.5789 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.6272, allocations: 7.938 kB / 0.5789 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007861/0.628, allocations: 399.1 kB / 0.5793 GB, free: 15.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.628, allocations: 0 / 0.5793 GB, free: 15.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005742/0.6286, allocations: 67.94 kB / 0.5793 GB, free: 15.43 MB / 410.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 (17): * Single equations (assignments): 17 * 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.002085/0.6307, allocations: 0.7187 MB / 0.58 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006006/0.6314, allocations: 143.8 kB / 0.5802 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6314, allocations: 3.938 kB / 0.5802 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.6317, allocations: 75.91 kB / 0.5803 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.6324, allocations: 57.52 kB / 0.5803 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.6343, allocations: 0.7751 MB / 0.5811 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.6348, allocations: 0.8067 MB / 0.5819 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.635, allocations: 43.41 kB / 0.5819 GB, free: 12.87 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.635, allocations: 0 / 0.5819 GB, free: 12.87 MB / 410.7 MB Notification: Performance of Templates: time 0.01236/0.6474, allocations: 4.666 MB / 0.5865 GB, free: 8.199 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches