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.001706/0.001706, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.469/1.469, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007666/0.0007665, allocations: 93.16 kB / 271.9 MB, free: 8.262 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.3451/0.3451, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003553, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 58.86 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.4102, allocations: 88.4 MB / 0.5663 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4105, allocations: 79.95 kB / 0.5663 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02253/0.433, allocations: 9.03 MB / 0.5752 GB, free: 4.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.433, allocations: 0 / 0.5752 GB, free: 4.938 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.847e-05/0.4331, allocations: 16 kB / 0.5752 GB, free: 4.922 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.0009646/0.434, allocations: 0.761 MB / 0.5759 GB, free: 4.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4341, allocations: 8.031 kB / 0.5759 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.692e-05/0.4342, allocations: 60.19 kB / 0.576 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/0.4348, allocations: 0.4996 MB / 0.5765 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4349, allocations: 8.375 kB / 0.5765 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.4349, allocations: 12.38 kB / 0.5765 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.4352, allocations: 172.7 kB / 0.5767 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4353, allocations: 192 / 0.5767 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4353, allocations: 7.938 kB / 0.5767 GB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4353, allocations: 8 kB / 0.5767 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.4356, allocations: 131.9 kB / 0.5768 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009956/0.4366, allocations: 0.7581 MB / 0.5775 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.4369, allocations: 141.2 kB / 0.5777 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.437, allocations: 81.8 kB / 0.5777 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4371, allocations: 7.984 kB / 0.5778 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4371, allocations: 34.5 kB / 0.5778 GB, free: 2.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.4371, allocations: 0 / 0.5778 GB, free: 2.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001951/0.4391, allocations: 0.8223 MB / 0.5786 GB, free: 1.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.4391, allocations: 81.11 kB / 0.5787 GB, free: 1.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009353/0.4401, allocations: 0.871 MB / 0.5795 GB, free: 252 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.4401, allocations: 33.7 kB / 0.5795 GB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4403, allocations: 252.4 kB / 0.5798 GB, free: 15.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.4404, allocations: 74.91 kB / 0.5799 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.4404, allocations: 3.938 kB / 0.5799 GB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4405, allocations: 374.8 kB / 0.5802 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4408, allocations: 123.9 kB / 0.5803 GB, free: 15.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.4411, allocations: 145.6 kB / 0.5805 GB, free: 15.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.4417, allocations: 285.6 kB / 0.5808 GB, free: 14.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4417, allocations: 0 / 0.5808 GB, free: 14.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007007/0.4424, allocations: 376.7 kB / 0.5811 GB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4424, allocations: 4 kB / 0.5811 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4424, allocations: 0 / 0.5811 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4424, allocations: 4 kB / 0.5811 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.4427, allocations: 67.88 kB / 0.5812 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4427, allocations: 0 / 0.5812 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.4429, allocations: 35.89 kB / 0.5812 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.443, allocations: 7.984 kB / 0.5812 GB, free: 14.46 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.0002223/0.4432, allocations: 221.7 kB / 0.5814 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4433, allocations: 59.28 kB / 0.5815 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/0.4442, allocations: 430.3 kB / 0.5819 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4442, allocations: 4.094 kB / 0.5819 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4442, allocations: 7.938 kB / 0.5819 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4442, allocations: 0 / 0.5819 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.4457, allocations: 1.063 MB / 0.583 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4457, allocations: 0 / 0.583 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.446, allocations: 55.95 kB / 0.583 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.446, allocations: 4 kB / 0.583 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.446, allocations: 4 kB / 0.583 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.446, allocations: 4 kB / 0.583 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.446, allocations: 7.938 kB / 0.583 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/0.4468, allocations: 0.5418 MB / 0.5836 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.447, allocations: 176.4 kB / 0.5837 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.4471, allocations: 8 kB / 0.5837 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4473, allocations: 31.97 kB / 0.5838 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.4474, allocations: 15.97 kB / 0.5838 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.4474, allocations: 7.938 kB / 0.5838 GB, free: 11.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007063/0.4481, allocations: 0.6435 MB / 0.5844 GB, free: 11.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4482, allocations: 0 / 0.5844 GB, free: 11.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.4485, allocations: 87.91 kB / 0.5845 GB, free: 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 (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.0008249/0.4494, allocations: 422.5 kB / 0.5849 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006758/0.4501, allocations: 295.8 kB / 0.5852 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4501, allocations: 3.938 kB / 0.5852 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.4504, allocations: 159.8 kB / 0.5853 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.451, allocations: 66.95 kB / 0.5854 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.4524, allocations: 1.134 MB / 0.5865 GB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.4529, allocations: 0.8812 MB / 0.5874 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.4531, allocations: 47.41 kB / 0.5874 GB, free: 8.051 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4531, allocations: 0 / 0.5874 GB, free: 8.051 MB / 410.7 MB Notification: Performance of Templates: time 0.008772/0.4619, allocations: 6.525 MB / 0.5938 GB, free: 1.527 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