Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 180.7 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.254/1.254, allocations: 221.3 MB / 236 MB, free: 2.957 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.0008819/0.000882, allocations: 95.59 kB / 287 MB, free: 248 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.1683/0.1683, allocations: 44.15 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.973e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4655, allocations: 87.38 MB / 0.587 GB, free: 1.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.4658, allocations: 79.7 kB / 0.5871 GB, free: 1.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006734/0.4726, allocations: 3.038 MB / 0.5901 GB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4726, allocations: 0 / 0.5901 GB, free: 14.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4726, allocations: 0 / 0.5901 GB, free: 14.83 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002704/0.4729, allocations: 354.4 kB / 0.5904 GB, free: 14.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4729, allocations: 12.03 kB / 0.5904 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.473, allocations: 14.84 kB / 0.5904 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4731, allocations: 171.3 kB / 0.5906 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4732, allocations: 7.953 kB / 0.5906 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4732, allocations: 8 kB / 0.5906 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4734, allocations: 193.3 kB / 0.5908 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4734, allocations: 3.938 kB / 0.5908 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.4735, allocations: 8 kB / 0.5908 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.4735, allocations: 4 kB / 0.5908 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.4736, allocations: 59.78 kB / 0.5909 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.4744, allocations: 1.705 MB / 0.5925 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.4745, allocations: 169.1 kB / 0.5927 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.4745, allocations: 80.14 kB / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4745, allocations: 79.28 kB / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4746, allocations: 109.8 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4746, allocations: 0 / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.561e-05/0.4746, allocations: 37.61 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4747, allocations: 130.7 kB / 0.5931 GB, free: 11.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.4748, allocations: 169.2 kB / 0.5933 GB, free: 11.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.4749, allocations: 25.7 kB / 0.5933 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.475, allocations: 147.1 kB / 0.5934 GB, free: 11.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-06/0.475, allocations: 8 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.475, allocations: 0 / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.4751, allocations: 326.8 kB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.4751, allocations: 32 kB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4752, allocations: 157.1 kB / 0.5939 GB, free: 10.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.4753, allocations: 63.73 kB / 0.594 GB, free: 10.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4753, allocations: 4 kB / 0.594 GB, free: 10.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000269/0.4756, allocations: 193.7 kB / 0.5942 GB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4756, allocations: 9.094 kB / 0.5942 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4757, allocations: 8.031 kB / 0.5942 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4757, allocations: 4 kB / 0.5942 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.4758, allocations: 43.92 kB / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.4758, allocations: 8.578 kB / 0.5943 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.4759, allocations: 19.75 kB / 0.5943 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.4759, allocations: 16 kB / 0.5943 GB, free: 10.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.546e-05/0.476, allocations: 192.1 kB / 0.5945 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.4761, allocations: 112.9 kB / 0.5946 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.4762, allocations: 123 kB / 0.5947 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.562e-05/0.4762, allocations: 180.3 kB / 0.5949 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.509e-05/0.4763, allocations: 180.2 kB / 0.5951 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.4763, allocations: 188.2 kB / 0.5952 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.4766, allocations: 429.2 kB / 0.5956 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/0.4766, allocations: 109 kB / 0.5957 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.4767, allocations: 101 kB / 0.5958 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.356e-05/0.4767, allocations: 180.2 kB / 0.596 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/0.4768, allocations: 180.3 kB / 0.5962 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-05/0.4768, allocations: 184.2 kB / 0.5964 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-05/0.4769, allocations: 176.3 kB / 0.5965 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.477, allocations: 319.6 kB / 0.5968 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.4771, allocations: 190 kB / 0.597 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.4772, allocations: 184.2 kB / 0.5972 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.4773, allocations: 101 kB / 0.5973 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.4773, allocations: 180.3 kB / 0.5975 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.4774, allocations: 108.9 kB / 0.5976 GB, free: 6.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.328e-05/0.4775, allocations: 132.1 kB / 0.5977 GB, free: 6.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4775, allocations: 0 / 0.5977 GB, free: 6.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.4778, allocations: 12 kB / 0.5977 GB, free: 6.418 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 (0): * Single equations (assignments): 0 * 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.0004996/0.4783, allocations: 276.7 kB / 0.598 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.4784, allocations: 71.78 kB / 0.598 GB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4784, allocations: 0 / 0.598 GB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.327e-06/0.4784, allocations: 4.344 kB / 0.598 GB, free: 6.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4787, allocations: 0.5314 MB / 0.5986 GB, free: 5.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.479, allocations: 197.5 kB / 0.5987 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.4792, allocations: 0.7009 MB / 0.5994 GB, free: 4.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.4794, allocations: 49.14 kB / 0.5995 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.4794, allocations: 19.42 kB / 0.5995 GB, free: 4.562 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4794, allocations: 0 / 0.5995 GB, free: 4.562 MB / 410.7 MB Notification: Performance of Templates: time 0.002882/0.4823, allocations: 0.7129 MB / 0.6002 GB, free: 3.855 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches