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.001491/0.00149, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 82.55 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2982/0.2982, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.506e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5622, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.7966, allocations: 87.62 MB / 0.5515 GB, free: 11.7 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/0.7971, allocations: 71.97 kB / 0.5515 GB, free: 11.62 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05672/0.8538, allocations: 8.939 MB / 0.5603 GB, free: 2.66 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8539, allocations: 0 / 0.5603 GB, free: 2.66 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.364e-05/0.854, allocations: 15.94 kB / 0.5603 GB, free: 2.645 MB / 395.1 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.001739/0.8557, allocations: 0.6394 MB / 0.5609 GB, free: 1.961 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/0.8558, allocations: 12.03 kB / 0.5609 GB, free: 1.949 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.8561, allocations: 59.25 kB / 0.561 GB, free: 1.891 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.858, allocations: 490.8 kB / 0.5614 GB, free: 1.371 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.8581, allocations: 4 kB / 0.5614 GB, free: 1.367 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.8582, allocations: 8 kB / 0.5614 GB, free: 1.359 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004403/0.8586, allocations: 83.91 kB / 0.5615 GB, free: 1.277 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.8591, allocations: 127.1 kB / 0.5617 GB, free: 1.141 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.8591, allocations: 0 / 0.5617 GB, free: 1.141 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.8592, allocations: 3.953 kB / 0.5617 GB, free: 1.137 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.8592, allocations: 7.938 kB / 0.5617 GB, free: 1.129 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.862, allocations: 0.7312 MB / 0.5624 GB, free: 364 kB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.8625, allocations: 109.2 kB / 0.5625 GB, free: 236 kB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.8627, allocations: 41.84 kB / 0.5625 GB, free: 188 kB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.8628, allocations: 11.97 kB / 0.5625 GB, free: 176 kB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.8629, allocations: 30.56 kB / 0.5626 GB, free: 136 kB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 4.729e-06/0.8629, allocations: 3.938 kB / 0.5626 GB, free: 132 kB / 395.1 MB Notification: Performance of matching and sorting (n=20): time 0.003581/0.8665, allocations: 0.5682 MB / 0.5631 GB, free: 15.55 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.8666, allocations: 89.09 kB / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.8691, allocations: 0.7649 MB / 0.564 GB, free: 14.68 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.8692, allocations: 25.7 kB / 0.564 GB, free: 14.64 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.8696, allocations: 270.8 kB / 0.5642 GB, free: 14.38 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.8697, allocations: 67 kB / 0.5643 GB, free: 14.31 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.8698, allocations: 0 / 0.5643 GB, free: 14.31 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.87, allocations: 310.8 kB / 0.5646 GB, free: 14 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.8703, allocations: 75.97 kB / 0.5647 GB, free: 13.93 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.8707, allocations: 89.69 kB / 0.5648 GB, free: 13.83 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.8711, allocations: 83.89 kB / 0.5648 GB, free: 13.75 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.8711, allocations: 192 / 0.5648 GB, free: 13.75 MB / 411.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008858/0.872, allocations: 213.4 kB / 0.565 GB, free: 13.54 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.872, allocations: 8 kB / 0.565 GB, free: 13.53 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.8721, allocations: 0 / 0.565 GB, free: 13.53 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.8721, allocations: 0 / 0.565 GB, free: 13.53 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.8729, allocations: 71.84 kB / 0.5651 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.8729, allocations: 0 / 0.5651 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.8736, allocations: 27.97 kB / 0.5651 GB, free: 13.43 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.8737, allocations: 12 kB / 0.5652 GB, free: 13.42 MB / 411.1 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 () * 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.0001796/0.8739, allocations: 108.9 kB / 0.5653 GB, free: 13.3 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.8742, allocations: 59.47 kB / 0.5653 GB, free: 13.25 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.8756, allocations: 314.2 kB / 0.5656 GB, free: 12.93 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.8757, allocations: 3.938 kB / 0.5656 GB, free: 12.93 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.8757, allocations: 3.953 kB / 0.5656 GB, free: 12.92 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.8757, allocations: 7.984 kB / 0.5656 GB, free: 12.91 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.879, allocations: 0.9087 MB / 0.5665 GB, free: 11.96 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.879, allocations: 0 / 0.5665 GB, free: 11.96 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.8798, allocations: 67.89 kB / 0.5666 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.8799, allocations: 4 kB / 0.5666 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.8799, allocations: 3.953 kB / 0.5666 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.88, allocations: 8 kB / 0.5666 GB, free: 11.88 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.88, allocations: 3.984 kB / 0.5666 GB, free: 11.88 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.8812, allocations: 451 kB / 0.567 GB, free: 11.41 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000562/0.8819, allocations: 172.4 kB / 0.5672 GB, free: 11.23 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.882, allocations: 4 kB / 0.5672 GB, free: 11.22 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/0.8828, allocations: 35.92 kB / 0.5672 GB, free: 11.19 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.8829, allocations: 19.97 kB / 0.5672 GB, free: 11.17 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.883, allocations: 4 kB / 0.5673 GB, free: 11.16 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001754/0.8848, allocations: 0.6045 MB / 0.5678 GB, free: 10.57 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.8848, allocations: 0 / 0.5678 GB, free: 10.57 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001227/0.886, allocations: 87.83 kB / 0.5679 GB, free: 10.48 MB / 411.1 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 () * 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.001585/0.8877, allocations: 350.3 kB / 0.5683 GB, free: 10.18 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.8886, allocations: 175.9 kB / 0.5684 GB, free: 10.01 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.8886, allocations: 4 kB / 0.5684 GB, free: 10 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.8891, allocations: 107.9 kB / 0.5685 GB, free: 9.898 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.8903, allocations: 65.56 kB / 0.5686 GB, free: 9.836 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.8936, allocations: 0.8267 MB / 0.5694 GB, free: 8.973 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.8947, allocations: 0.8964 MB / 0.5703 GB, free: 8.047 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.8952, allocations: 47.41 kB / 0.5703 GB, free: 8 MB / 411.1 MB Notification: Performance of SimCode: time 1.664e-06/0.8953, allocations: 0 / 0.5703 GB, free: 8 MB / 411.1 MB Notification: Performance of Templates: time 0.02312/0.9184, allocations: 6.421 MB / 0.5766 GB, free: 1.566 MB / 411.1 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