Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001118/0.001117, allocations: 87.25 kB / 270.9 MB, free: 8.395 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.5401/0.5401, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006355, allocations: 19.92 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1221, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.6141, allocations: 88.43 MB / 0.5651 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.6144, allocations: 75.97 kB / 0.5652 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03691/0.6514, allocations: 8.617 MB / 0.5736 GB, free: 5.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6514, allocations: 0 / 0.5736 GB, free: 5.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.703e-05/0.6515, allocations: 8 kB / 0.5736 GB, free: 5.48 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.001307/0.6528, allocations: 0.7499 MB / 0.5743 GB, free: 4.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6528, allocations: 8.031 kB / 0.5743 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.653, allocations: 55.25 kB / 0.5744 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.654, allocations: 482.9 kB / 0.5748 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.6541, allocations: 11.94 kB / 0.5748 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.6541, allocations: 12 kB / 0.5749 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.6545, allocations: 153.2 kB / 0.575 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6546, allocations: 0 / 0.575 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.6546, allocations: 4 kB / 0.575 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.6546, allocations: 3.953 kB / 0.575 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.655, allocations: 107.9 kB / 0.5751 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.6565, allocations: 0.7307 MB / 0.5758 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.6569, allocations: 129.2 kB / 0.5759 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.6569, allocations: 3.984 kB / 0.576 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6569, allocations: 34.56 kB / 0.576 GB, free: 2.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.657, allocations: 224 / 0.576 GB, free: 2.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002358/0.6593, allocations: 0.5646 MB / 0.5765 GB, free: 2.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.6594, allocations: 89 kB / 0.5766 GB, free: 2.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.6611, allocations: 0.8028 MB / 0.5774 GB, free: 1.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.6611, allocations: 29.7 kB / 0.5774 GB, free: 1.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.6614, allocations: 266.9 kB / 0.5777 GB, free: 1.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.6615, allocations: 55.09 kB / 0.5777 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.6615, allocations: 8 kB / 0.5777 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6617, allocations: 314.8 kB / 0.578 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.662, allocations: 71.95 kB / 0.5781 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.6624, allocations: 93.59 kB / 0.5782 GB, free: 0.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.6627, allocations: 75.97 kB / 0.5783 GB, free: 436 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6628, allocations: 0 / 0.5783 GB, free: 436 kB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007781/0.6636, allocations: 205.6 kB / 0.5785 GB, free: 224 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6636, allocations: 8 kB / 0.5785 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6636, allocations: 4 kB / 0.5785 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6636, allocations: 0 / 0.5785 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.664, allocations: 43.91 kB / 0.5785 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.664, allocations: 0 / 0.5785 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.6643, allocations: 23.94 kB / 0.5785 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.6643, allocations: 8 kB / 0.5786 GB, free: 136 kB / 394.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 (16): * Single equations (assignments): 16 * 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.0003509/0.6647, allocations: 217.8 kB / 0.5788 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6649, allocations: 55.25 kB / 0.5788 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.666, allocations: 310.4 kB / 0.5791 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.666, allocations: 0 / 0.5791 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.666, allocations: 0 / 0.5791 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.666, allocations: 4 kB / 0.5791 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.6681, allocations: 0.8958 MB / 0.58 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.6681, allocations: 3.984 kB / 0.58 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.6684, allocations: 35.98 kB / 0.58 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6684, allocations: 7.984 kB / 0.58 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.6685, allocations: 8.688 kB / 0.58 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.6685, allocations: 8.031 kB / 0.5801 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6685, allocations: 3.984 kB / 0.5801 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.6695, allocations: 443.7 kB / 0.5805 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.6698, allocations: 176.3 kB / 0.5806 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.6699, allocations: 15.88 kB / 0.5807 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.6703, allocations: 16 kB / 0.5807 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.6704, allocations: 19.97 kB / 0.5807 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.6704, allocations: 4 kB / 0.5807 GB, free: 13.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.6717, allocations: 0.6354 MB / 0.5813 GB, free: 13.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6717, allocations: 4 kB / 0.5813 GB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.6723, allocations: 75.94 kB / 0.5814 GB, free: 13.11 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 (16): * Single equations (assignments): 16 * 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.001152/0.6734, allocations: 424.8 kB / 0.5818 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007536/0.6742, allocations: 171.8 kB / 0.582 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6742, allocations: 0 / 0.582 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.6746, allocations: 99.88 kB / 0.5821 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.6753, allocations: 66.95 kB / 0.5821 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.6775, allocations: 1.054 MB / 0.5832 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.6781, allocations: 0.8733 MB / 0.584 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.6783, allocations: 51.41 kB / 0.5841 GB, free: 10.41 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6783, allocations: 0 / 0.5841 GB, free: 10.41 MB / 410.7 MB Notification: Performance of Templates: time 0.01356/0.6919, allocations: 5.981 MB / 0.5899 GB, free: 4.438 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches