Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009827/0.0009828, allocations: 180.7 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.231/1.231, allocations: 221.3 MB / 236 MB, free: 2.906 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.0008894/0.0008894, allocations: 91.73 kB / 287 MB, free: 204 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.1724/0.1724, allocations: 44.14 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.503e-05, allocations: 224 / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4774, allocations: 89.49 MB / 0.5891 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.4778, allocations: 79.7 kB / 0.5892 GB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02163/0.4994, allocations: 8.874 MB / 0.5978 GB, free: 6.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4995, allocations: 0 / 0.5978 GB, free: 6.863 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.503e-05/0.4995, allocations: 8 kB / 0.5979 GB, free: 6.855 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.0006967/0.5002, allocations: 0.6281 MB / 0.5985 GB, free: 6.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5003, allocations: 8.031 kB / 0.5985 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.5004, allocations: 51.34 kB / 0.5985 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.5011, allocations: 467 kB / 0.599 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5011, allocations: 12 kB / 0.599 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.5011, allocations: 12 kB / 0.599 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.5014, allocations: 122.4 kB / 0.5991 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5014, allocations: 0 / 0.5991 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.5014, allocations: 4 kB / 0.5991 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.5014, allocations: 7.984 kB / 0.5991 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.5016, allocations: 55.94 kB / 0.5992 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.5026, allocations: 0.7112 MB / 0.5999 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.5027, allocations: 109.2 kB / 0.6 GB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.5028, allocations: 29.84 kB / 0.6 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.5028, allocations: 11.94 kB / 0.6 GB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.5029, allocations: 30.56 kB / 0.6 GB, free: 4.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/0.5029, allocations: 0 / 0.6 GB, free: 4.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001107/0.504, allocations: 442.2 kB / 0.6005 GB, free: 3.988 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.5041, allocations: 77.11 kB / 0.6005 GB, free: 3.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/0.505, allocations: 0.7782 MB / 0.6013 GB, free: 3.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5051, allocations: 25.7 kB / 0.6013 GB, free: 3.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.5053, allocations: 256.2 kB / 0.6016 GB, free: 2.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.5053, allocations: 51.2 kB / 0.6016 GB, free: 2.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.5054, allocations: 4 kB / 0.6016 GB, free: 2.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5055, allocations: 382.7 kB / 0.602 GB, free: 2.383 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.5056, allocations: 32.22 kB / 0.602 GB, free: 2.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/0.5057, allocations: 53.7 kB / 0.6021 GB, free: 2.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.242e-05/0.5058, allocations: 52.05 kB / 0.6021 GB, free: 2.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5058, allocations: 0 / 0.6021 GB, free: 2.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003085/0.5061, allocations: 184.9 kB / 0.6023 GB, free: 2.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5062, allocations: 9.406 kB / 0.6023 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5062, allocations: 0 / 0.6023 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5062, allocations: 4 kB / 0.6023 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.5064, allocations: 40.34 kB / 0.6023 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.5064, allocations: 0 / 0.6023 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.5066, allocations: 19.98 kB / 0.6024 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.5066, allocations: 15.98 kB / 0.6024 GB, free: 1.969 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 () * 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 7.318e-05/0.5067, allocations: 116.9 kB / 0.6025 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.5068, allocations: 51.34 kB / 0.6025 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.5072, allocations: 238.2 kB / 0.6028 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5072, allocations: 0 / 0.6028 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5072, allocations: 4 kB / 0.6028 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5072, allocations: 0 / 0.6028 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5083, allocations: 0.8098 MB / 0.6036 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5083, allocations: 0 / 0.6036 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.5085, allocations: 43.91 kB / 0.6036 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.5085, allocations: 4 kB / 0.6036 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5085, allocations: 4 kB / 0.6036 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5085, allocations: 0 / 0.6036 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5086, allocations: 8 kB / 0.6036 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.5089, allocations: 372.4 kB / 0.604 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.5092, allocations: 180.4 kB / 0.6041 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.5092, allocations: 4 kB / 0.6041 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.5094, allocations: 20 kB / 0.6042 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.5095, allocations: 15.92 kB / 0.6042 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5095, allocations: 4 kB / 0.6042 GB, free: 4 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00067/0.5102, allocations: 0.6263 MB / 0.6048 GB, free: 15.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5102, allocations: 0 / 0.6048 GB, free: 15.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.5105, allocations: 71.94 kB / 0.6049 GB, free: 15.31 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 (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.0007986/0.5113, allocations: 367.7 kB / 0.6052 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.5116, allocations: 115.9 kB / 0.6053 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5116, allocations: 0 / 0.6053 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.5117, allocations: 59.92 kB / 0.6054 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.5121, allocations: 65.16 kB / 0.6054 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5132, allocations: 0.6899 MB / 0.6061 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.5135, allocations: 0.8577 MB / 0.607 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.5137, allocations: 99.41 kB / 0.6071 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.5139, allocations: 47.41 kB / 0.6071 GB, free: 13.06 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5139, allocations: 0 / 0.6071 GB, free: 13.06 MB / 426.7 MB Notification: Performance of Templates: time 0.007622/0.5215, allocations: 4.329 MB / 0.6113 GB, free: 8.742 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches