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.001114/0.001114, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.241/1.241, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.0008824, allocations: 96.23 kB / 292.2 MB, free: 10.7 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.316/0.316, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4665, allocations: 87.46 MB / 0.595 GB, free: 7.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4668, allocations: 83.92 kB / 0.595 GB, free: 7.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006964/0.4738, allocations: 3.208 MB / 0.5982 GB, free: 4.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4738, allocations: 4 kB / 0.5982 GB, free: 4.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.4738, allocations: 0 / 0.5982 GB, free: 4.375 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.0003324/0.4742, allocations: 367.2 kB / 0.5985 GB, free: 3.969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4742, allocations: 8.031 kB / 0.5985 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.4743, allocations: 7.906 kB / 0.5986 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.4744, allocations: 179.3 kB / 0.5987 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4744, allocations: 11.89 kB / 0.5987 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.4744, allocations: 4 kB / 0.5987 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.4747, allocations: 188.7 kB / 0.5989 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4747, allocations: 7.938 kB / 0.5989 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4747, allocations: 0 / 0.5989 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.4748, allocations: 12 kB / 0.5989 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.4749, allocations: 59.77 kB / 0.599 GB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.4758, allocations: 1.705 MB / 0.6007 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/0.4759, allocations: 173.1 kB / 0.6008 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.476, allocations: 79.28 kB / 0.6009 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.476, allocations: 109.8 kB / 0.601 GB, free: 1.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.476, allocations: 0 / 0.601 GB, free: 1.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.47e-05/0.4761, allocations: 37.59 kB / 0.601 GB, free: 1.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4762, allocations: 126.7 kB / 0.6012 GB, free: 1.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4764, allocations: 167.2 kB / 0.6013 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.4764, allocations: 33.7 kB / 0.6014 GB, free: 0.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.4765, allocations: 147.1 kB / 0.6015 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.4765, allocations: 0 / 0.6015 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.4765, allocations: 4 kB / 0.6015 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4766, allocations: 322.8 kB / 0.6018 GB, free: 364 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.4767, allocations: 31.94 kB / 0.6018 GB, free: 332 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.4768, allocations: 155.5 kB / 0.602 GB, free: 116 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.4769, allocations: 75.91 kB / 0.6021 GB, free: 40 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4769, allocations: 0 / 0.6021 GB, free: 40 kB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003163/0.4772, allocations: 193.5 kB / 0.6022 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4773, allocations: 9.094 kB / 0.6022 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.4773, allocations: 7.984 kB / 0.6023 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4773, allocations: 4 kB / 0.6023 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4774, allocations: 39.92 kB / 0.6023 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.4774, allocations: 4 kB / 0.6023 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.4775, allocations: 27.7 kB / 0.6023 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.4776, allocations: 12 kB / 0.6023 GB, free: 15.74 MB / 426.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 () * Number of clocked 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 0.0001345/0.4777, allocations: 221.7 kB / 0.6026 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.4778, allocations: 112.8 kB / 0.6027 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.4778, allocations: 112.8 kB / 0.6028 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-05/0.4779, allocations: 180.2 kB / 0.6029 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.12e-05/0.478, allocations: 192.1 kB / 0.6031 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.083e-05/0.4781, allocations: 180.3 kB / 0.6033 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.4783, allocations: 429.1 kB / 0.6037 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/0.4784, allocations: 101 kB / 0.6038 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.4784, allocations: 101 kB / 0.6039 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.973e-05/0.4785, allocations: 184.2 kB / 0.6041 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.4785, allocations: 180.2 kB / 0.6042 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.178e-05/0.4786, allocations: 188.2 kB / 0.6044 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.829e-05/0.4787, allocations: 184.2 kB / 0.6046 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4788, allocations: 311.6 kB / 0.6049 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.4789, allocations: 190 kB / 0.6051 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.479, allocations: 188.2 kB / 0.6053 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.4791, allocations: 101 kB / 0.6054 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.4792, allocations: 184.2 kB / 0.6055 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.4792, allocations: 105 kB / 0.6056 GB, free: 12.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.466e-05/0.4793, allocations: 125.2 kB / 0.6057 GB, free: 12.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4793, allocations: 0 / 0.6057 GB, free: 12.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.4796, allocations: 16 kB / 0.6058 GB, free: 12.01 MB / 426.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 (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.0005254/0.4802, allocations: 281.7 kB / 0.606 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.4803, allocations: 72.91 kB / 0.6061 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4803, allocations: 0 / 0.6061 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.4803, allocations: 4 kB / 0.6061 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4806, allocations: 0.5329 MB / 0.6066 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.481, allocations: 283.1 kB / 0.6069 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4813, allocations: 0.7009 MB / 0.6076 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.4814, allocations: 49.02 kB / 0.6076 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.4815, allocations: 15.44 kB / 0.6076 GB, free: 10.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4815, allocations: 0 / 0.6076 GB, free: 10.07 MB / 426.7 MB Notification: Performance of Templates: time 0.002671/0.4841, allocations: 0.7003 MB / 0.6083 GB, free: 9.375 MB / 426.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