Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009827/0.0009827, 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.232/1.232, 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.0008795/0.0008795, allocations: 78.62 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.1686/0.1686, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.895e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4575, allocations: 88.48 MB / 0.5881 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4578, allocations: 75.94 kB / 0.5882 GB, free: 0.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.4694, allocations: 4.703 MB / 0.5928 GB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4695, allocations: 0 / 0.5928 GB, free: 12.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4695, allocations: 0 / 0.5928 GB, free: 12.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003854/0.4699, allocations: 398.2 kB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4699, allocations: 15.86 kB / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.47, allocations: 15.81 kB / 0.5932 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.4702, allocations: 203.5 kB / 0.5934 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.4703, allocations: 7.953 kB / 0.5934 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.4703, allocations: 4 kB / 0.5934 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.4704, allocations: 53.69 kB / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4704, allocations: 0 / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4704, allocations: 0 / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4705, allocations: 0 / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.4705, allocations: 35.92 kB / 0.5935 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.4709, allocations: 316.6 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.4711, allocations: 50.59 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.4712, allocations: 16.98 kB / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.4712, allocations: 4 kB / 0.5938 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4712, allocations: 38.56 kB / 0.5939 GB, free: 10.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4712, allocations: 0 / 0.5939 GB, free: 10.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006204/0.4719, allocations: 205 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.4719, allocations: 55.41 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.4721, allocations: 191.7 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4722, allocations: 29.7 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.4722, allocations: 108.1 kB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.4723, allocations: 35.45 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.4723, allocations: 7.938 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4724, allocations: 322.8 kB / 0.5948 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.4724, allocations: 24 kB / 0.5948 GB, free: 9.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.4725, allocations: 27.94 kB / 0.5948 GB, free: 9.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.4725, allocations: 34.95 kB / 0.5949 GB, free: 9.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4725, allocations: 0 / 0.5949 GB, free: 9.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001651/0.4727, allocations: 101.6 kB / 0.595 GB, free: 9.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4727, allocations: 9.344 kB / 0.595 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4728, allocations: 0 / 0.595 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4728, allocations: 0 / 0.595 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4729, allocations: 27.98 kB / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4729, allocations: 7.953 kB / 0.595 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.473, allocations: 23.89 kB / 0.595 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.473, allocations: 4 kB / 0.595 GB, free: 9.516 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 (11): * Single equations (assignments): 11 * 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 6.56e-05/0.4731, allocations: 108.9 kB / 0.5951 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.4731, allocations: 11.91 kB / 0.5952 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.4733, allocations: 119.2 kB / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4733, allocations: 0 / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.4734, allocations: 0 / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4734, allocations: 7.953 kB / 0.5953 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.4739, allocations: 456 kB / 0.5957 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4739, allocations: 4 kB / 0.5957 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.474, allocations: 35.86 kB / 0.5957 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.474, allocations: 8.047 kB / 0.5958 GB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.474, allocations: 12.05 kB / 0.5958 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.474, allocations: 3.938 kB / 0.5958 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.474, allocations: 0 / 0.5958 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.4743, allocations: 240.5 kB / 0.596 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.4743, allocations: 97.38 kB / 0.5961 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4744, allocations: 0 / 0.5961 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4745, allocations: 19.98 kB / 0.5961 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.4745, allocations: 15.92 kB / 0.5961 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4746, allocations: 4 kB / 0.5961 GB, free: 8.266 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.4747, allocations: 152.9 kB / 0.5963 GB, free: 8.117 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4747, allocations: 0 / 0.5963 GB, free: 8.117 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.4749, allocations: 39.94 kB / 0.5963 GB, free: 8.078 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009117/0.4759, allocations: 409.5 kB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.476, allocations: 79.86 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4761, allocations: 0 / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.4761, allocations: 39.94 kB / 0.5968 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4763, allocations: 24.64 kB / 0.5968 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.4768, allocations: 215.9 kB / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.4772, allocations: 0.724 MB / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.4773, allocations: 16.67 kB / 0.5978 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.4773, allocations: 15.44 kB / 0.5978 GB, free: 6.637 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4773, allocations: 3.938 kB / 0.5978 GB, free: 6.633 MB / 410.7 MB Notification: Performance of Templates: time 0.003981/0.4813, allocations: 1.555 MB / 0.5993 GB, free: 5.082 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches