Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 174.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007979/0.0007976, allocations: 93.02 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3895/0.3895, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004172, allocations: 12 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1483, allocations: 58.84 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5527, allocations: 86.71 MB / 0.5646 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.553, allocations: 71.97 kB / 0.5647 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.5704, allocations: 7.817 MB / 0.5723 GB, free: 7.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.5704, allocations: 0 / 0.5723 GB, free: 7.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.36e-05/0.5705, allocations: 8 kB / 0.5723 GB, free: 7.258 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000936/0.5714, allocations: 0.6223 MB / 0.5729 GB, free: 6.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5715, allocations: 16.03 kB / 0.573 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.5716, allocations: 40.38 kB / 0.573 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.5722, allocations: 356 kB / 0.5733 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5722, allocations: 384 / 0.5733 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.5722, allocations: 4.312 kB / 0.5733 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.5724, allocations: 50.81 kB / 0.5734 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5724, allocations: 192 / 0.5734 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5724, allocations: 7.938 kB / 0.5734 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5724, allocations: 4 kB / 0.5734 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.5726, allocations: 39.97 kB / 0.5734 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.5733, allocations: 424.8 kB / 0.5738 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.5734, allocations: 58.44 kB / 0.5739 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.5735, allocations: 27.62 kB / 0.5739 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5735, allocations: 0 / 0.5739 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.5736, allocations: 38.56 kB / 0.574 GB, free: 5.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.5736, allocations: 4 kB / 0.574 GB, free: 5.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003862/0.574, allocations: 121.2 kB / 0.5741 GB, free: 5.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.574, allocations: 55.34 kB / 0.5741 GB, free: 5.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.5754, allocations: 0.8456 MB / 0.575 GB, free: 4.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.5754, allocations: 29.7 kB / 0.575 GB, free: 4.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.5756, allocations: 214.9 kB / 0.5752 GB, free: 4.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.5756, allocations: 7.891 kB / 0.5752 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5756, allocations: 0 / 0.5752 GB, free: 4.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5758, allocations: 362.8 kB / 0.5756 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.5759, allocations: 15.98 kB / 0.5756 GB, free: 3.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.5759, allocations: 23.98 kB / 0.5756 GB, free: 3.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.5761, allocations: 40.83 kB / 0.5756 GB, free: 3.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5761, allocations: 7.938 kB / 0.5756 GB, free: 3.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002376/0.5763, allocations: 117 kB / 0.5757 GB, free: 3.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5763, allocations: 8 kB / 0.5758 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5764, allocations: 3.984 kB / 0.5758 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5764, allocations: 0 / 0.5758 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.5765, allocations: 11.98 kB / 0.5758 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5765, allocations: 0 / 0.5758 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.5766, allocations: 8 kB / 0.5758 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5766, allocations: 4 kB / 0.5758 GB, free: 3.52 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0002212/0.5768, allocations: 213.7 kB / 0.576 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.5769, allocations: 43.47 kB / 0.576 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.5772, allocations: 125 kB / 0.5761 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5772, allocations: 4 kB / 0.5762 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5772, allocations: 0 / 0.5762 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5772, allocations: 0 / 0.5762 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.5776, allocations: 333.2 kB / 0.5765 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5776, allocations: 0 / 0.5765 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.5777, allocations: 11.98 kB / 0.5765 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5777, allocations: 0 / 0.5765 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.5777, allocations: 0 / 0.5765 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5777, allocations: 0 / 0.5765 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5777, allocations: 4 kB / 0.5765 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.578, allocations: 211.4 kB / 0.5767 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.5782, allocations: 173 kB / 0.5769 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.5782, allocations: 3.984 kB / 0.5769 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.5783, allocations: 8 kB / 0.5769 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.5784, allocations: 7.984 kB / 0.5769 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.5784, allocations: 0 / 0.5769 GB, free: 2.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008077/0.5792, allocations: 0.6355 MB / 0.5775 GB, free: 1.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5792, allocations: 0 / 0.5775 GB, free: 1.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.5796, allocations: 48 kB / 0.5775 GB, free: 1.625 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0008501/0.5804, allocations: 379.7 kB / 0.5779 GB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.5806, allocations: 39.97 kB / 0.5779 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5806, allocations: 0 / 0.5779 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.659e-05/0.5807, allocations: 27.98 kB / 0.578 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.5811, allocations: 25.89 kB / 0.578 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.5825, allocations: 0.888 MB / 0.5789 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.5831, allocations: 0.8145 MB / 0.5797 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.988e-05/0.5832, allocations: 40.23 kB / 0.5797 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.5832, allocations: 19.44 kB / 0.5797 GB, free: 15.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5832, allocations: 0 / 0.5797 GB, free: 15.44 MB / 410.7 MB Notification: Performance of Templates: time 0.006452/0.5897, allocations: 2.278 MB / 0.5819 GB, free: 13.15 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches