Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001093, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2854/0.2854, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.084e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1393, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6355, allocations: 87.13 MB / 0.5579 GB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.6358, allocations: 78.2 kB / 0.558 GB, free: 444 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01912/0.6549, allocations: 4.422 MB / 0.5623 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.655, allocations: 0 / 0.5623 GB, free: 12.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.655, allocations: 4 kB / 0.5623 GB, free: 12.63 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005267/0.6556, allocations: 400.8 kB / 0.5627 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.6556, allocations: 8.031 kB / 0.5627 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.6557, allocations: 18.89 kB / 0.5627 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.656, allocations: 203.1 kB / 0.5629 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.6561, allocations: 6.938 kB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.6561, allocations: 4 kB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.6563, allocations: 49.12 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6563, allocations: 0 / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.6563, allocations: 0 / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6563, allocations: 3.938 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.6564, allocations: 27.05 kB / 0.563 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.6571, allocations: 326.6 kB / 0.5633 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.6572, allocations: 33.2 kB / 0.5633 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.6573, allocations: 24.06 kB / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.6573, allocations: 4 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6574, allocations: 38.31 kB / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.6574, allocations: 4 kB / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007215/0.6581, allocations: 165 kB / 0.5635 GB, free: 11.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6582, allocations: 55.39 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.6585, allocations: 187 kB / 0.5638 GB, free: 11.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.6585, allocations: 25.7 kB / 0.5638 GB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.6586, allocations: 172.9 kB / 0.564 GB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.6587, allocations: 23.72 kB / 0.564 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.6587, allocations: 3.688 kB / 0.564 GB, free: 10.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6588, allocations: 314.8 kB / 0.5643 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.6589, allocations: 22.8 kB / 0.5643 GB, free: 10.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.659, allocations: 18.88 kB / 0.5643 GB, free: 10.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.659, allocations: 23.17 kB / 0.5643 GB, free: 10.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6591, allocations: 0 / 0.5643 GB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002214/0.6593, allocations: 91.45 kB / 0.5644 GB, free: 10.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6593, allocations: 7.938 kB / 0.5644 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6593, allocations: 7.938 kB / 0.5644 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.6594, allocations: 3.953 kB / 0.5644 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.6596, allocations: 23.98 kB / 0.5645 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6596, allocations: 0 / 0.5645 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.6598, allocations: 11.98 kB / 0.5645 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.6598, allocations: 4 kB / 0.5645 GB, free: 10.32 MB / 378.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 (7): * Single equations (assignments): 7 * 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 8.929e-05/0.6599, allocations: 108.7 kB / 0.5646 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.66, allocations: 11.91 kB / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.6603, allocations: 108.8 kB / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.6603, allocations: 4.094 kB / 0.5647 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.6603, allocations: 7.984 kB / 0.5647 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6604, allocations: 0 / 0.5647 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.661, allocations: 397.5 kB / 0.5651 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.661, allocations: 0 / 0.5651 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.6613, allocations: 23.98 kB / 0.5651 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.6613, allocations: 3.953 kB / 0.5651 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.6613, allocations: 7.938 kB / 0.5651 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.6613, allocations: 0 / 0.5651 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6613, allocations: 0 / 0.5651 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.6616, allocations: 185.4 kB / 0.5653 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.6617, allocations: 100.6 kB / 0.5654 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.6618, allocations: 3.953 kB / 0.5654 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.6619, allocations: 19.17 kB / 0.5654 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.662, allocations: 0 / 0.5654 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.662, allocations: 4 kB / 0.5654 GB, free: 9.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.6623, allocations: 160.9 kB / 0.5656 GB, free: 9.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6623, allocations: 0 / 0.5656 GB, free: 9.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.6626, allocations: 19.94 kB / 0.5656 GB, free: 9.188 MB / 378.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 (7): * Single equations (assignments): 7 * 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.001127/0.6638, allocations: 382.6 kB / 0.566 GB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.6641, allocations: 50.17 kB / 0.566 GB, free: 8.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6641, allocations: 4 kB / 0.566 GB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.6642, allocations: 30.94 kB / 0.566 GB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.6645, allocations: 25.23 kB / 0.5661 GB, free: 8.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.6652, allocations: 219.9 kB / 0.5663 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6655, allocations: 0.7213 MB / 0.567 GB, free: 7.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.6656, allocations: 11.44 kB / 0.567 GB, free: 7.812 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6656, allocations: 4 kB / 0.567 GB, free: 7.809 MB / 378.7 MB Notification: Performance of Templates: time 0.005342/0.671, allocations: 1.835 MB / 0.5688 GB, free: 5.984 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches