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.00087/0.00087, allocations: 179 kB / 18.09 MB, free: 3.75 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.236/1.236, allocations: 223.3 MB / 242.1 MB, free: 11.61 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.0007686/0.0007687, allocations: 95.69 kB / 293.3 MB, free: 10.77 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.3098/0.3098, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003447, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09818/0.3653, allocations: 87.47 MB / 0.5961 GB, free: 7.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.3656, allocations: 83.94 kB / 0.5962 GB, free: 7.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006424/0.372, allocations: 3.221 MB / 0.5994 GB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.372, allocations: 0 / 0.5994 GB, free: 4.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.372, allocations: 4 kB / 0.5994 GB, free: 4.277 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.0002834/0.3723, allocations: 359.3 kB / 0.5997 GB, free: 3.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3723, allocations: 8.031 kB / 0.5997 GB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.3724, allocations: 8.844 kB / 0.5997 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3725, allocations: 176.3 kB / 0.5999 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3725, allocations: 8.375 kB / 0.5999 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3726, allocations: 4.375 kB / 0.5999 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3728, allocations: 191.5 kB / 0.6001 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3728, allocations: 192 / 0.6001 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3728, allocations: 15.88 kB / 0.6001 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.3728, allocations: 7.984 kB / 0.6001 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.3729, allocations: 59.67 kB / 0.6002 GB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.3739, allocations: 1.705 MB / 0.6018 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.374, allocations: 177.1 kB / 0.602 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.374, allocations: 80.14 kB / 0.6021 GB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.3741, allocations: 79.22 kB / 0.6022 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.3741, allocations: 105.8 kB / 0.6023 GB, free: 1.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.3741, allocations: 4 kB / 0.6023 GB, free: 1.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.375e-05/0.3742, allocations: 37.61 kB / 0.6023 GB, free: 1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.3743, allocations: 130.6 kB / 0.6024 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3744, allocations: 184 kB / 0.6026 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3744, allocations: 25.7 kB / 0.6026 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.3745, allocations: 147.2 kB / 0.6028 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.3745, allocations: 8 kB / 0.6028 GB, free: 496 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.3746, allocations: 0 / 0.6028 GB, free: 496 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.3747, allocations: 326.8 kB / 0.6031 GB, free: 160 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.3747, allocations: 27.98 kB / 0.6031 GB, free: 132 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3748, allocations: 153.5 kB / 0.6033 GB, free: 15.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.375, allocations: 200.8 kB / 0.6034 GB, free: 15.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.375, allocations: 4 kB / 0.6035 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002649/0.3753, allocations: 193.1 kB / 0.6036 GB, free: 15.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3753, allocations: 8.625 kB / 0.6036 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.3753, allocations: 8 kB / 0.6037 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3753, allocations: 8 kB / 0.6037 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3755, allocations: 35.92 kB / 0.6037 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3755, allocations: 7.938 kB / 0.6037 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.3756, allocations: 27.75 kB / 0.6037 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3756, allocations: 8 kB / 0.6037 GB, free: 15.36 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.0001069/0.3757, allocations: 218.1 kB / 0.6039 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.3758, allocations: 112.8 kB / 0.6041 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.3758, allocations: 124.8 kB / 0.6042 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/0.3759, allocations: 176.3 kB / 0.6043 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.124e-05/0.3759, allocations: 184.2 kB / 0.6045 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.73e-05/0.376, allocations: 184.3 kB / 0.6047 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.3762, allocations: 417.2 kB / 0.6051 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/0.3762, allocations: 124.8 kB / 0.6052 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.3763, allocations: 105 kB / 0.6053 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.064e-05/0.3763, allocations: 184.2 kB / 0.6055 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.3764, allocations: 176.3 kB / 0.6056 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.856e-05/0.3764, allocations: 180.3 kB / 0.6058 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.625e-05/0.3765, allocations: 184.2 kB / 0.606 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.3766, allocations: 311.7 kB / 0.6063 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.3767, allocations: 193.9 kB / 0.6065 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.3767, allocations: 188.2 kB / 0.6067 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.3768, allocations: 104.9 kB / 0.6068 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.3769, allocations: 180.3 kB / 0.6069 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3769, allocations: 104.9 kB / 0.607 GB, free: 11.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.377, allocations: 136 kB / 0.6072 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.377, allocations: 0 / 0.6072 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.3773, allocations: 12 kB / 0.6072 GB, free: 11.61 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.000409/0.3777, allocations: 268.2 kB / 0.6074 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3778, allocations: 79.78 kB / 0.6075 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3778, allocations: 0 / 0.6075 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.3778, allocations: 352 / 0.6075 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3782, allocations: 0.5353 MB / 0.608 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.3785, allocations: 282.6 kB / 0.6083 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3787, allocations: 0.7009 MB / 0.609 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3789, allocations: 53.02 kB / 0.609 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.3789, allocations: 15.44 kB / 0.609 GB, free: 9.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3789, allocations: 0 / 0.609 GB, free: 9.68 MB / 426.7 MB Notification: Performance of Templates: time 0.002532/0.3815, allocations: 0.7025 MB / 0.6097 GB, free: 8.98 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/jenkins1/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