Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008864/0.0008864, allocations: 95.41 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1904/0.1904, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.788e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5404, allocations: 90.14 MB / 0.5827 GB, free: 6.371 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5407, allocations: 75.95 kB / 0.5828 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02231/0.5631, allocations: 8.768 MB / 0.5913 GB, free: 13.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5631, allocations: 0 / 0.5913 GB, free: 13.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.026e-05/0.5632, allocations: 12 kB / 0.5913 GB, free: 13.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006472/0.5638, allocations: 0.5273 MB / 0.5919 GB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.5639, allocations: 15.98 kB / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.564, allocations: 35.53 kB / 0.5919 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.5645, allocations: 347.4 kB / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5645, allocations: 4 kB / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.5645, allocations: 11.92 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001367/0.5647, allocations: 47.98 kB / 0.5923 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.5648, allocations: 74.8 kB / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5648, allocations: 4 kB / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5648, allocations: 0 / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5648, allocations: 0 / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.5655, allocations: 460.9 kB / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.5656, allocations: 66.55 kB / 0.5929 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.5656, allocations: 24.98 kB / 0.5929 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.5657, allocations: 7.984 kB / 0.5929 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.5657, allocations: 30.56 kB / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.5657, allocations: 0 / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002359/0.5659, allocations: 121.1 kB / 0.5931 GB, free: 11.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.566, allocations: 55.36 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.5665, allocations: 481.2 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.5665, allocations: 25.7 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.5667, allocations: 204.2 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.5667, allocations: 15.8 kB / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.5667, allocations: 0 / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5668, allocations: 350.8 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.5669, allocations: 20 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.5669, allocations: 23.98 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.567, allocations: 19.98 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.567, allocations: 4 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001485/0.5671, allocations: 113.2 kB / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5672, allocations: 4 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5672, allocations: 4 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5672, allocations: 7.875 kB / 0.5943 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.5673, allocations: 11.98 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5673, allocations: 4 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.5674, allocations: 11.89 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.5674, allocations: 0 / 0.5944 GB, free: 10.23 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 (6): * Single equations (assignments): 6 * 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 7.148e-05/0.5675, allocations: 109 kB / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.5675, allocations: 35.53 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.5678, allocations: 137 kB / 0.5946 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5678, allocations: 0 / 0.5946 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5679, allocations: 4 kB / 0.5946 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5679, allocations: 0 / 0.5946 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.5682, allocations: 281.9 kB / 0.5949 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5682, allocations: 0 / 0.5949 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.5682, allocations: 15.98 kB / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5682, allocations: 7.938 kB / 0.5949 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5683, allocations: 4 kB / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.5683, allocations: 0 / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5683, allocations: 0 / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.5685, allocations: 211.4 kB / 0.5951 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.5686, allocations: 148.6 kB / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.5687, allocations: 0 / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.5688, allocations: 8 kB / 0.5953 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.5688, allocations: 7.984 kB / 0.5953 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.5688, allocations: 4 kB / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.5692, allocations: 382.9 kB / 0.5956 GB, free: 8.824 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5692, allocations: 0 / 0.5956 GB, free: 8.824 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.5695, allocations: 47.94 kB / 0.5957 GB, free: 8.777 MB / 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 (6): * Single equations (assignments): 6 * 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.001132/0.5707, allocations: 0.497 MB / 0.5962 GB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.5708, allocations: 47.98 kB / 0.5962 GB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5708, allocations: 0 / 0.5962 GB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.5709, allocations: 27.92 kB / 0.5963 GB, free: 8.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.5713, allocations: 73.69 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.5721, allocations: 475.2 kB / 0.5968 GB, free: 7.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.5725, allocations: 0.8021 MB / 0.5976 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.5727, allocations: 65.98 kB / 0.5976 GB, free: 6.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.5727, allocations: 31.42 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5727, allocations: 4 kB / 0.5977 GB, free: 6.816 MB / 410.7 MB Notification: Performance of Templates: time 0.006016/0.5788, allocations: 2.884 MB / 0.6005 GB, free: 3.941 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches