Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.364/1.364, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000796/0.0007959, allocations: 90.3 kB / 271.9 MB, free: 8.246 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.3396/0.3396, allocations: 43.55 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 19.94 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.5181, allocations: 88.02 MB / 0.5659 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5184, allocations: 77.19 kB / 0.566 GB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02293/0.5414, allocations: 8.824 MB / 0.5746 GB, free: 5.523 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5414, allocations: 0 / 0.5746 GB, free: 5.523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.89e-05/0.5414, allocations: 8 kB / 0.5746 GB, free: 5.516 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.001022/0.5425, allocations: 0.7625 MB / 0.5753 GB, free: 4.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5425, allocations: 11.97 kB / 0.5753 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.5426, allocations: 52.28 kB / 0.5754 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/0.5433, allocations: 0.4918 MB / 0.5759 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.5433, allocations: 8.375 kB / 0.5759 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.5434, allocations: 16.38 kB / 0.5759 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.5437, allocations: 144.9 kB / 0.576 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5437, allocations: 192 / 0.576 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.5437, allocations: 7.938 kB / 0.576 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5438, allocations: 4 kB / 0.576 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.5441, allocations: 119.9 kB / 0.5762 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.5451, allocations: 0.7307 MB / 0.5769 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.5454, allocations: 129.2 kB / 0.577 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5456, allocations: 77.75 kB / 0.5771 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.5456, allocations: 4 kB / 0.5771 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5456, allocations: 30.56 kB / 0.5771 GB, free: 2.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.5456, allocations: 0 / 0.5771 GB, free: 2.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001967/0.5476, allocations: 0.7564 MB / 0.5778 GB, free: 1.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5477, allocations: 81.2 kB / 0.5779 GB, free: 1.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.5487, allocations: 0.8661 MB / 0.5788 GB, free: 1.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5487, allocations: 29.7 kB / 0.5788 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.5489, allocations: 248.4 kB / 0.579 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.5489, allocations: 67.02 kB / 0.5791 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.549, allocations: 0 / 0.5791 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5491, allocations: 378.8 kB / 0.5794 GB, free: 292 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.5494, allocations: 103.9 kB / 0.5795 GB, free: 188 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.5497, allocations: 125.6 kB / 0.5797 GB, free: 56 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.5502, allocations: 245.5 kB / 0.5799 GB, free: 15.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5502, allocations: 0 / 0.5799 GB, free: 15.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006598/0.5509, allocations: 344.8 kB / 0.5802 GB, free: 15.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5509, allocations: 4.094 kB / 0.5802 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5509, allocations: 8 kB / 0.5802 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.551, allocations: 4 kB / 0.5802 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.5513, allocations: 55.95 kB / 0.5803 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.5513, allocations: 4 kB / 0.5803 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.5515, allocations: 39.88 kB / 0.5803 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.5515, allocations: 7.984 kB / 0.5803 GB, free: 15.34 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.000219/0.5518, allocations: 209.7 kB / 0.5805 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5519, allocations: 59.28 kB / 0.5806 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008136/0.5527, allocations: 390 kB / 0.581 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.5527, allocations: 4 kB / 0.581 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5527, allocations: 0 / 0.581 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5527, allocations: 4 kB / 0.581 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.5543, allocations: 0.9971 MB / 0.582 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5543, allocations: 0 / 0.582 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.5546, allocations: 63.88 kB / 0.582 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.5546, allocations: 4 kB / 0.582 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.5546, allocations: 4 kB / 0.582 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5546, allocations: 4 kB / 0.582 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5546, allocations: 4.312 kB / 0.582 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.5554, allocations: 0.5115 MB / 0.5825 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.5556, allocations: 180.4 kB / 0.5827 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.5557, allocations: 12 kB / 0.5827 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.5559, allocations: 23.98 kB / 0.5827 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.556, allocations: 19.97 kB / 0.5828 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.5561, allocations: 11.92 kB / 0.5828 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007462/0.5568, allocations: 0.6276 MB / 0.5834 GB, free: 12.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5568, allocations: 4 kB / 0.5834 GB, free: 12.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.5572, allocations: 75.98 kB / 0.5835 GB, free: 12.05 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.0009237/0.5581, allocations: 407.6 kB / 0.5838 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006285/0.5588, allocations: 267.7 kB / 0.5841 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5588, allocations: 0 / 0.5841 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.5591, allocations: 139.9 kB / 0.5842 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.5597, allocations: 70.89 kB / 0.5843 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.5613, allocations: 1.086 MB / 0.5854 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.5618, allocations: 0.8655 MB / 0.5862 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.5619, allocations: 47.41 kB / 0.5863 GB, free: 9.215 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5619, allocations: 4 kB / 0.5863 GB, free: 9.211 MB / 410.7 MB Notification: Performance of Templates: time 0.00973/0.5717, allocations: 6.213 MB / 0.5923 GB, free: 3.004 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches