Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007458/0.0007458, allocations: 91.67 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1876/0.1876, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.219e-05, allocations: 0 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.455, allocations: 89.9 MB / 0.5895 GB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4553, allocations: 71.95 kB / 0.5896 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02403/0.4793, allocations: 9.504 MB / 0.5988 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4794, allocations: 0 / 0.5988 GB, free: 5.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.4794, allocations: 8 kB / 0.5989 GB, free: 5.797 MB / 410.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.0006903/0.4801, allocations: 0.6571 MB / 0.5995 GB, free: 5.094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4801, allocations: 8.031 kB / 0.5995 GB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.4802, allocations: 63.25 kB / 0.5996 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.481, allocations: 486.9 kB / 0.6 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.481, allocations: 8 kB / 0.6 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.481, allocations: 15.91 kB / 0.6001 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.4813, allocations: 154.4 kB / 0.6002 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4813, allocations: 0 / 0.6002 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4813, allocations: 4 kB / 0.6002 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4813, allocations: 0 / 0.6002 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.4815, allocations: 91.91 kB / 0.6003 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.4825, allocations: 0.7425 MB / 0.601 GB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.4827, allocations: 113.2 kB / 0.6011 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.4828, allocations: 65.72 kB / 0.6012 GB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.4828, allocations: 7.969 kB / 0.6012 GB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4829, allocations: 38.56 kB / 0.6012 GB, free: 3.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.4829, allocations: 0 / 0.6012 GB, free: 3.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.00132/0.4842, allocations: 0.5918 MB / 0.6018 GB, free: 2.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4843, allocations: 81.11 kB / 0.6019 GB, free: 2.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.4851, allocations: 0.8 MB / 0.6027 GB, free: 1.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4852, allocations: 29.7 kB / 0.6027 GB, free: 1.633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4853, allocations: 252.4 kB / 0.6029 GB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.4854, allocations: 74.98 kB / 0.603 GB, free: 1.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.4854, allocations: 8 kB / 0.603 GB, free: 1.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4855, allocations: 370.9 kB / 0.6034 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4857, allocations: 79.97 kB / 0.6034 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4858, allocations: 95.69 kB / 0.6035 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.486, allocations: 79.95 kB / 0.6036 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.486, allocations: 0 / 0.6036 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004035/0.4864, allocations: 272.7 kB / 0.6039 GB, free: 412 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4864, allocations: 9.562 kB / 0.6039 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4864, allocations: 4 kB / 0.6039 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.4864, allocations: 0 / 0.6039 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.4867, allocations: 59.95 kB / 0.6039 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4867, allocations: 7.938 kB / 0.604 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.4869, allocations: 35.92 kB / 0.604 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.487, allocations: 11.98 kB / 0.604 GB, free: 284 kB / 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 () * 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 9.461e-05/0.4871, allocations: 109 kB / 0.6041 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4872, allocations: 59.25 kB / 0.6042 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.4877, allocations: 330.4 kB / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4877, allocations: 4 kB / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4878, allocations: 0 / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4878, allocations: 0 / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.489, allocations: 0.9541 MB / 0.6054 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4891, allocations: 384 / 0.6054 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.4893, allocations: 67.89 kB / 0.6055 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4893, allocations: 4 kB / 0.6055 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4894, allocations: 11.98 kB / 0.6055 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4894, allocations: 3.953 kB / 0.6055 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4894, allocations: 0 / 0.6055 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.4899, allocations: 463.6 kB / 0.6059 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.4901, allocations: 184.3 kB / 0.6061 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.4902, allocations: 4 kB / 0.6061 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.4904, allocations: 27.98 kB / 0.6061 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.4905, allocations: 23.92 kB / 0.6062 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.4906, allocations: 15.98 kB / 0.6062 GB, free: 13.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007112/0.4913, allocations: 0.6322 MB / 0.6068 GB, free: 13.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4913, allocations: 0 / 0.6068 GB, free: 13.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.4917, allocations: 83.94 kB / 0.6069 GB, free: 13.21 MB / 426.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 () * 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.0008323/0.4925, allocations: 365.1 kB / 0.6072 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.4929, allocations: 191.9 kB / 0.6074 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4929, allocations: 0 / 0.6074 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.493, allocations: 116.4 kB / 0.6075 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.4935, allocations: 68.84 kB / 0.6076 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.4947, allocations: 0.7895 MB / 0.6084 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.4951, allocations: 0.8996 MB / 0.6092 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.4954, allocations: 111.2 kB / 0.6093 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4955, allocations: 47.34 kB / 0.6094 GB, free: 10.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4956, allocations: 4 kB / 0.6094 GB, free: 10.69 MB / 426.7 MB Notification: Performance of Templates: time 0.008976/0.5045, allocations: 4.693 MB / 0.614 GB, free: 6.016 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches