Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009274/0.0009275, allocations: 180.4 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.229/1.229, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008028/0.0008028, allocations: 92.05 kB / 287 MB, free: 244 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.1808/0.1808, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.767e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.4718, allocations: 90.52 MB / 0.5901 GB, free: 14.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4721, allocations: 63.97 kB / 0.5902 GB, free: 14.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.4934, allocations: 8.737 MB / 0.5987 GB, free: 5.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.4935, allocations: 0 / 0.5987 GB, free: 5.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.4935, allocations: 7.984 kB / 0.5987 GB, free: 5.98 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005208/0.494, allocations: 0.5482 MB / 0.5992 GB, free: 5.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4941, allocations: 8.031 kB / 0.5992 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.4941, allocations: 39.53 kB / 0.5993 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.4946, allocations: 341.1 kB / 0.5996 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4946, allocations: 12 kB / 0.5996 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.4947, allocations: 11.98 kB / 0.5996 GB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4948, allocations: 97.67 kB / 0.5997 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4949, allocations: 7.891 kB / 0.5997 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4949, allocations: 4.219 kB / 0.5997 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4949, allocations: 4 kB / 0.5997 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.495, allocations: 59.92 kB / 0.5998 GB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.4956, allocations: 0.5003 MB / 0.6003 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.4958, allocations: 86.5 kB / 0.6004 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.4958, allocations: 28.8 kB / 0.6004 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4958, allocations: 7.953 kB / 0.6004 GB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4959, allocations: 30.56 kB / 0.6004 GB, free: 4.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.4959, allocations: 4 kB / 0.6004 GB, free: 4.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006685/0.4965, allocations: 331.4 kB / 0.6008 GB, free: 3.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.4966, allocations: 55.34 kB / 0.6008 GB, free: 3.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.4971, allocations: 487.1 kB / 0.6013 GB, free: 3.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4972, allocations: 29.7 kB / 0.6013 GB, free: 3.121 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.4973, allocations: 208.3 kB / 0.6015 GB, free: 2.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.4973, allocations: 51.2 kB / 0.6015 GB, free: 2.863 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.4973, allocations: 8 kB / 0.6016 GB, free: 2.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4974, allocations: 354.7 kB / 0.6019 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.4975, allocations: 36 kB / 0.6019 GB, free: 2.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.4976, allocations: 41.41 kB / 0.602 GB, free: 2.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.4977, allocations: 49.3 kB / 0.602 GB, free: 2.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4977, allocations: 3.953 kB / 0.602 GB, free: 2.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002167/0.4979, allocations: 169.2 kB / 0.6022 GB, free: 2.203 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4979, allocations: 4 kB / 0.6022 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4979, allocations: 0 / 0.6022 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.4979, allocations: 0 / 0.6022 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4981, allocations: 47.91 kB / 0.6022 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4981, allocations: 4 kB / 0.6022 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.4982, allocations: 11.91 kB / 0.6022 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.4982, allocations: 7.984 kB / 0.6023 GB, free: 2.129 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 5.684e-05/0.4983, allocations: 109 kB / 0.6024 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.4983, allocations: 43.48 kB / 0.6024 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.4987, allocations: 214.3 kB / 0.6026 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4987, allocations: 4 kB / 0.6026 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4987, allocations: 3.984 kB / 0.6026 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4987, allocations: 0 / 0.6026 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.4994, allocations: 0.6553 MB / 0.6033 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4994, allocations: 4 kB / 0.6033 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4995, allocations: 39.97 kB / 0.6033 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4996, allocations: 0 / 0.6033 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4996, allocations: 4 kB / 0.6033 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.4996, allocations: 4 kB / 0.6033 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4996, allocations: 3.938 kB / 0.6033 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.4998, allocations: 284.1 kB / 0.6036 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.5, allocations: 144.6 kB / 0.6037 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.5, allocations: 4 kB / 0.6037 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5002, allocations: 11.98 kB / 0.6037 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5002, allocations: 11.98 kB / 0.6037 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5002, allocations: 11.94 kB / 0.6038 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003716/0.5006, allocations: 393.1 kB / 0.6041 GB, free: 112 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5006, allocations: 0 / 0.6041 GB, free: 112 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002812/0.5009, allocations: 67.94 kB / 0.6042 GB, free: 44 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001302/0.5022, allocations: 0.6282 MB / 0.6048 GB, free: 15.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.5024, allocations: 115.8 kB / 0.6049 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5024, allocations: 0 / 0.6049 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.5025, allocations: 63.92 kB / 0.605 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.5029, allocations: 68.7 kB / 0.605 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.5036, allocations: 0.5092 MB / 0.6055 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.504, allocations: 0.8143 MB / 0.6063 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.5041, allocations: 54.03 kB / 0.6064 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.273e-05/0.5042, allocations: 31.42 kB / 0.6064 GB, free: 13.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5042, allocations: 4 kB / 0.6064 GB, free: 13.9 MB / 426.7 MB Notification: Performance of Templates: time 0.006167/0.5104, allocations: 3.537 MB / 0.6099 GB, free: 10.37 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches