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.002234/0.002234, allocations: 185.9 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 2.016/2.016, 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.00111/0.00111, allocations: 99.48 kB / 270.9 MB, free: 8.383 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.5078/0.5078, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 16 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.6012, allocations: 87.97 MB / 0.5646 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.6016, allocations: 71.95 kB / 0.5647 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03881/0.6404, allocations: 8.819 MB / 0.5733 GB, free: 5.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6405, allocations: 0 / 0.5733 GB, free: 5.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.088e-05/0.6405, allocations: 11.98 kB / 0.5733 GB, free: 5.73 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.001584/0.6421, allocations: 0.7671 MB / 0.5741 GB, free: 4.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6422, allocations: 8.031 kB / 0.5741 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.6424, allocations: 55.34 kB / 0.5741 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6435, allocations: 482.8 kB / 0.5746 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.6435, allocations: 8 kB / 0.5746 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.6436, allocations: 4 kB / 0.5746 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.6441, allocations: 149.4 kB / 0.5748 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6441, allocations: 3.938 kB / 0.5748 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.6442, allocations: 8 kB / 0.5748 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.6442, allocations: 7.938 kB / 0.5748 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005334/0.6447, allocations: 119.9 kB / 0.5749 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.6465, allocations: 0.7307 MB / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.647, allocations: 137.2 kB / 0.5757 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.647, allocations: 0 / 0.5757 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.6471, allocations: 34.56 kB / 0.5758 GB, free: 3.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.6471, allocations: 0 / 0.5758 GB, free: 3.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.003651/0.6507, allocations: 0.7478 MB / 0.5765 GB, free: 2.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.6508, allocations: 81.28 kB / 0.5766 GB, free: 2.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.6526, allocations: 0.7873 MB / 0.5773 GB, free: 1.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.6527, allocations: 37.64 kB / 0.5774 GB, free: 1.367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.653, allocations: 262.8 kB / 0.5776 GB, free: 1.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.6531, allocations: 75 kB / 0.5777 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.6531, allocations: 0 / 0.5777 GB, free: 1.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6532, allocations: 318.8 kB / 0.578 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.6538, allocations: 111.9 kB / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.6543, allocations: 121.7 kB / 0.5782 GB, free: 492 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.6549, allocations: 115.9 kB / 0.5783 GB, free: 376 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6549, allocations: 4 kB / 0.5783 GB, free: 372 kB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001181/0.6561, allocations: 278.4 kB / 0.5786 GB, free: 88 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6561, allocations: 8 kB / 0.5786 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6561, allocations: 3.953 kB / 0.5786 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.6562, allocations: 3.984 kB / 0.5786 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.6567, allocations: 67.89 kB / 0.5787 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6567, allocations: 0 / 0.5787 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.6573, allocations: 31.89 kB / 0.5787 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.6573, allocations: 19.98 kB / 0.5787 GB, free: 15.95 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.0004282/0.6578, allocations: 213.7 kB / 0.5789 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.658, allocations: 55.34 kB / 0.579 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.6595, allocations: 393.9 kB / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6596, allocations: 7.953 kB / 0.5794 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6596, allocations: 0 / 0.5794 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6596, allocations: 0 / 0.5794 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.6623, allocations: 0.9976 MB / 0.5804 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6624, allocations: 0 / 0.5804 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.6629, allocations: 59.95 kB / 0.5804 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.663, allocations: 4.094 kB / 0.5804 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.663, allocations: 11.92 kB / 0.5804 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.663, allocations: 3.938 kB / 0.5804 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.663, allocations: 4 kB / 0.5804 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.6645, allocations: 0.5122 MB / 0.5809 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.6649, allocations: 184.3 kB / 0.5811 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.665, allocations: 7.938 kB / 0.5811 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.6655, allocations: 35.97 kB / 0.5811 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6656, allocations: 19.97 kB / 0.5812 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.6657, allocations: 4 kB / 0.5812 GB, free: 13.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.667, allocations: 0.6276 MB / 0.5818 GB, free: 12.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-07/0.667, allocations: 3.938 kB / 0.5818 GB, free: 12.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005824/0.6676, allocations: 76 kB / 0.5819 GB, free: 12.64 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.001183/0.6688, allocations: 416.2 kB / 0.5823 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.67, allocations: 256.9 kB / 0.5825 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.6701, allocations: 0 / 0.5825 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.6707, allocations: 143.9 kB / 0.5826 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.6714, allocations: 70.91 kB / 0.5827 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.6739, allocations: 1.089 MB / 0.5838 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.6745, allocations: 0.8655 MB / 0.5846 GB, free: 9.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.6749, allocations: 51.41 kB / 0.5847 GB, free: 9.797 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6749, allocations: 4 kB / 0.5847 GB, free: 9.793 MB / 410.7 MB Notification: Performance of Templates: time 0.0153/0.6902, allocations: 6.158 MB / 0.5907 GB, free: 3.641 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