Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002352/0.002352, allocations: 187.9 kB / 16.41 MB, free: 5.723 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.942/1.942, 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.001182/0.001182, allocations: 96.34 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.5151/0.5151, allocations: 43.56 MB / 362.7 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004982, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5805, allocations: 88.74 MB / 0.5654 GB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5809, allocations: 67.97 kB / 0.5655 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.6195, allocations: 8.911 MB / 0.5742 GB, free: 5.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6196, allocations: 0 / 0.5742 GB, free: 5.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.404e-05/0.6196, allocations: 12 kB / 0.5742 GB, free: 5.027 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.001054/0.6207, allocations: 0.6333 MB / 0.5748 GB, free: 4.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6207, allocations: 8.031 kB / 0.5748 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.6209, allocations: 43.53 kB / 0.5748 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.6216, allocations: 337.9 kB / 0.5752 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.6216, allocations: 12 kB / 0.5752 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.6217, allocations: 11.91 kB / 0.5752 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.622, allocations: 108.7 kB / 0.5753 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.622, allocations: 1.031 kB / 0.5753 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.6221, allocations: 4 kB / 0.5753 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6221, allocations: 7.984 kB / 0.5753 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.6224, allocations: 71.91 kB / 0.5754 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009586/0.6234, allocations: 0.5119 MB / 0.5759 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.6236, allocations: 94.48 kB / 0.576 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.6237, allocations: 0 / 0.576 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6237, allocations: 38.55 kB / 0.576 GB, free: 3.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.6237, allocations: 0 / 0.576 GB, free: 3.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.00146/0.6252, allocations: 400.1 kB / 0.5764 GB, free: 2.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.6253, allocations: 51.41 kB / 0.5764 GB, free: 2.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/0.6263, allocations: 493.1 kB / 0.5769 GB, free: 2.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.6263, allocations: 29.7 kB / 0.5769 GB, free: 2.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.6265, allocations: 238.7 kB / 0.5771 GB, free: 1.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.6266, allocations: 55.2 kB / 0.5772 GB, free: 1.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.6266, allocations: 0 / 0.5772 GB, free: 1.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6268, allocations: 322.8 kB / 0.5775 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.627, allocations: 55.97 kB / 0.5776 GB, free: 1.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.6272, allocations: 55.88 kB / 0.5776 GB, free: 1.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.6274, allocations: 63.92 kB / 0.5777 GB, free: 1.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6275, allocations: 4 kB / 0.5777 GB, free: 1.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00054/0.628, allocations: 164.8 kB / 0.5778 GB, free: 1.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.628, allocations: 8 kB / 0.5778 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6281, allocations: 0 / 0.5778 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6281, allocations: 0 / 0.5778 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.6283, allocations: 35.98 kB / 0.5779 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6284, allocations: 7.938 kB / 0.5779 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.6286, allocations: 15.92 kB / 0.5779 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.6286, allocations: 4 kB / 0.5779 GB, free: 1 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.0002815/0.6289, allocations: 185.7 kB / 0.5781 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.629, allocations: 39.44 kB / 0.5781 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007841/0.6298, allocations: 249.4 kB / 0.5784 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6298, allocations: 0 / 0.5784 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6299, allocations: 0 / 0.5784 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6299, allocations: 0 / 0.5784 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.6313, allocations: 0.6856 MB / 0.579 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6313, allocations: 0 / 0.579 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.6316, allocations: 35.98 kB / 0.5791 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6316, allocations: 0 / 0.5791 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.6316, allocations: 4 kB / 0.5791 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.6316, allocations: 11.95 kB / 0.5791 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6316, allocations: 3.984 kB / 0.5791 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.6323, allocations: 309.5 kB / 0.5794 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.6325, allocations: 140.6 kB / 0.5795 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.6326, allocations: 8 kB / 0.5795 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.6328, allocations: 11.98 kB / 0.5795 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.6329, allocations: 15.94 kB / 0.5795 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.6329, allocations: 4 kB / 0.5795 GB, free: 15.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007777/0.6337, allocations: 403.1 kB / 0.5799 GB, free: 14.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6337, allocations: 0 / 0.5799 GB, free: 14.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004909/0.6342, allocations: 63.94 kB / 0.58 GB, free: 14.75 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.002103/0.6363, allocations: 0.7136 MB / 0.5807 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.6369, allocations: 139.8 kB / 0.5808 GB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6369, allocations: 3.938 kB / 0.5808 GB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.6372, allocations: 87.89 kB / 0.5809 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.6379, allocations: 53.52 kB / 0.581 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.6396, allocations: 0.7712 MB / 0.5817 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.6402, allocations: 0.8145 MB / 0.5825 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.6404, allocations: 35.42 kB / 0.5825 GB, free: 12.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6404, allocations: 4 kB / 0.5825 GB, free: 12.19 MB / 410.7 MB Notification: Performance of Templates: time 0.01149/0.6519, allocations: 4.67 MB / 0.5871 GB, free: 7.52 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches