Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009229/0.0009232, allocations: 180.4 kB / 14.15 MB, free: 1.172 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.349/1.349, allocations: 221.3 MB / 236 MB, free: 2.969 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.0008027/0.0008027, allocations: 99.53 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.1727/0.1727, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.717e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.4597, allocations: 88.19 MB / 0.5878 GB, free: 1.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.4599, allocations: 75.95 kB / 0.5879 GB, free: 1.051 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.4709, allocations: 4.391 MB / 0.5922 GB, free: 12.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4709, allocations: 0 / 0.5922 GB, free: 12.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4709, allocations: 8 kB / 0.5922 GB, free: 12.66 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003242/0.4713, allocations: 382.2 kB / 0.5926 GB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4713, allocations: 15.97 kB / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.4713, allocations: 7.906 kB / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4715, allocations: 194.9 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4716, allocations: 11.94 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.4716, allocations: 4 kB / 0.5928 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.4717, allocations: 69.62 kB / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4718, allocations: 4 kB / 0.5929 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4718, allocations: 4 kB / 0.5929 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.4718, allocations: 4 kB / 0.5929 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.4719, allocations: 35.92 kB / 0.5929 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.4723, allocations: 336.6 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.764e-05/0.4724, allocations: 66.5 kB / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.4724, allocations: 20.86 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.4724, allocations: 3.984 kB / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.4725, allocations: 30.56 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4725, allocations: 0 / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005744/0.4731, allocations: 238.6 kB / 0.5936 GB, free: 11.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.4731, allocations: 55.36 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4732, allocations: 143.6 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4732, allocations: 33.7 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.4733, allocations: 92.14 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.4733, allocations: 43.3 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.4733, allocations: 4 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.4734, allocations: 326.8 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.4735, allocations: 39.98 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/0.4736, allocations: 36.56 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.618e-05/0.4736, allocations: 40.84 kB / 0.5943 GB, free: 10.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4736, allocations: 0 / 0.5943 GB, free: 10.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001801/0.4738, allocations: 132.8 kB / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4738, allocations: 7.984 kB / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4739, allocations: 0 / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.4739, allocations: 0 / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.474, allocations: 27.98 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.474, allocations: 3.938 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.4741, allocations: 19.95 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.4741, allocations: 0 / 0.5945 GB, free: 10.07 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 (13): * Single equations (assignments): 13 * 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.869e-05/0.4742, allocations: 109 kB / 0.5946 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.4742, allocations: 15.8 kB / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.4744, allocations: 150.4 kB / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4745, allocations: 0 / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4745, allocations: 4 kB / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4745, allocations: 0 / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.475, allocations: 483 kB / 0.5953 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.475, allocations: 0 / 0.5953 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/0.4751, allocations: 27.98 kB / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4751, allocations: 3.938 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4751, allocations: 19.97 kB / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4751, allocations: 0 / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4751, allocations: 0 / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.4753, allocations: 241.9 kB / 0.5955 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.4754, allocations: 92.97 kB / 0.5956 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4754, allocations: 4 kB / 0.5956 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.4755, allocations: 15.97 kB / 0.5956 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4756, allocations: 8 kB / 0.5957 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4756, allocations: 7.984 kB / 0.5957 GB, free: 8.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.4757, allocations: 120.6 kB / 0.5958 GB, free: 8.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4757, allocations: 0 / 0.5958 GB, free: 8.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000231/0.4759, allocations: 31.94 kB / 0.5958 GB, free: 8.648 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008534/0.4768, allocations: 425 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.4769, allocations: 91.98 kB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4769, allocations: 0 / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.477, allocations: 51.92 kB / 0.5963 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.4772, allocations: 24.03 kB / 0.5964 GB, free: 8.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.4776, allocations: 190.4 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.4779, allocations: 0.7237 MB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.252e-05/0.478, allocations: 28.53 kB / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.478, allocations: 19.42 kB / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4781, allocations: 0 / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of Templates: time 0.003904/0.482, allocations: 1.465 MB / 0.5987 GB, free: 5.707 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches