Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002065/0.002065, allocations: 188.3 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.916/1.916, 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.001148/0.001148, allocations: 85.8 kB / 270.9 MB, free: 8.375 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.509/0.509, allocations: 43.55 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 58.86 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.583, allocations: 88.35 MB / 0.565 GB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.5834, allocations: 75.95 kB / 0.5651 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04026/0.6237, allocations: 9.03 MB / 0.5739 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.6237, allocations: 0 / 0.5739 GB, free: 5.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.081e-05/0.6238, allocations: 15.94 kB / 0.5739 GB, free: 5.25 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001495/0.6253, allocations: 0.7648 MB / 0.5747 GB, free: 4.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6253, allocations: 8.031 kB / 0.5747 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.6255, allocations: 67.12 kB / 0.5747 GB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.6266, allocations: 483 kB / 0.5752 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.6266, allocations: 8 kB / 0.5752 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.6267, allocations: 15.91 kB / 0.5752 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.6273, allocations: 169.2 kB / 0.5754 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.6273, allocations: 4 kB / 0.5754 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.6274, allocations: 4 kB / 0.5754 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.6274, allocations: 7.953 kB / 0.5754 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.628, allocations: 139.8 kB / 0.5755 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.6298, allocations: 0.762 MB / 0.5763 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.6303, allocations: 133.2 kB / 0.5764 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.6304, allocations: 11.94 kB / 0.5764 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.6304, allocations: 34.55 kB / 0.5765 GB, free: 2.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.585e-06/0.6304, allocations: 0 / 0.5765 GB, free: 2.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.00383/0.6342, allocations: 0.8064 MB / 0.5772 GB, free: 1.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.6344, allocations: 93 kB / 0.5773 GB, free: 1.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.6361, allocations: 0.7961 MB / 0.5781 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/0.6362, allocations: 33.7 kB / 0.5781 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.6365, allocations: 270.7 kB / 0.5784 GB, free: 460 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.6366, allocations: 59.11 kB / 0.5785 GB, free: 400 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.6366, allocations: 8 kB / 0.5785 GB, free: 392 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6367, allocations: 318.8 kB / 0.5788 GB, free: 64 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.6374, allocations: 119.9 kB / 0.5789 GB, free: 15.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.6379, allocations: 149.6 kB / 0.579 GB, free: 15.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.6385, allocations: 136 kB / 0.5792 GB, free: 15.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6386, allocations: 0 / 0.5792 GB, free: 15.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001349/0.6399, allocations: 329.3 kB / 0.5795 GB, free: 15.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.64, allocations: 8 kB / 0.5795 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.64, allocations: 4.703 kB / 0.5795 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.64, allocations: 0 / 0.5795 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.6406, allocations: 63.89 kB / 0.5795 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6406, allocations: 4 kB / 0.5795 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.6411, allocations: 31.97 kB / 0.5796 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.6411, allocations: 8 kB / 0.5796 GB, free: 15.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0004123/0.6416, allocations: 217.8 kB / 0.5798 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.6418, allocations: 59.25 kB / 0.5798 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.6434, allocations: 445.9 kB / 0.5803 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6435, allocations: 3.953 kB / 0.5803 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6435, allocations: 4 kB / 0.5803 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6435, allocations: 7.984 kB / 0.5803 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.6464, allocations: 1.052 MB / 0.5813 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6465, allocations: 8 kB / 0.5813 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.647, allocations: 59.89 kB / 0.5814 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.647, allocations: 0 / 0.5814 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.647, allocations: 11.98 kB / 0.5814 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6471, allocations: 0 / 0.5814 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6471, allocations: 0 / 0.5814 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.6488, allocations: 0.5503 MB / 0.5819 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.6492, allocations: 196.2 kB / 0.5821 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.6493, allocations: 0 / 0.5821 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.6498, allocations: 31.98 kB / 0.5821 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6499, allocations: 19.97 kB / 0.5822 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.65, allocations: 7.984 kB / 0.5822 GB, free: 12.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001394/0.6514, allocations: 0.6396 MB / 0.5828 GB, free: 11.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6514, allocations: 4 kB / 0.5828 GB, free: 11.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006523/0.6521, allocations: 80 kB / 0.5829 GB, free: 11.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001259/0.6533, allocations: 412.1 kB / 0.5833 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.6547, allocations: 291.8 kB / 0.5835 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6547, allocations: 3.938 kB / 0.5836 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.6554, allocations: 167.8 kB / 0.5837 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.6562, allocations: 70.91 kB / 0.5838 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.659, allocations: 1.128 MB / 0.5849 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.6597, allocations: 0.8889 MB / 0.5857 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.6601, allocations: 51.41 kB / 0.5858 GB, free: 8.758 MB / 410.7 MB Notification: Performance of SimCode: time 1.103e-06/0.6601, allocations: 0.75 kB / 0.5858 GB, free: 8.758 MB / 410.7 MB Notification: Performance of Templates: time 0.01662/0.6767, allocations: 6.478 MB / 0.5921 GB, free: 2.285 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches