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.001259/0.001259, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.422/1.422, allocations: 222.9 MB / 241.6 MB, free: 11 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.001058/0.001058, allocations: 101.1 kB / 291.9 MB, free: 10.94 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.3826/0.3826, allocations: 44.12 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009868/0.000987, allocations: 55.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.354, allocations: 60.8 MB / 0.5064 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002981/0.357, allocations: 1.677 MB / 0.508 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.3577, allocations: 0.6779 MB / 0.5087 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.3578, allocations: 0 / 0.5087 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.358, allocations: 25.88 kB / 0.5087 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3581, allocations: 32.88 kB / 0.5087 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.3581, allocations: 2.969 kB / 0.5087 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3583, allocations: 56.62 kB / 0.5088 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.3583, allocations: 3.562 kB / 0.5088 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.3583, allocations: 10.83 kB / 0.5088 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.3584, allocations: 16.16 kB / 0.5088 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.3584, allocations: 2.844 kB / 0.5088 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.3585, allocations: 13.66 kB / 0.5088 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.3585, allocations: 20.12 kB / 0.5089 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3585, allocations: 21.47 kB / 0.5089 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.3586, allocations: 59.2 kB / 0.5089 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3587, allocations: 0 / 0.5089 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3587, allocations: 0 / 0.5089 GB, free: 36.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.3587, allocations: 3.938 kB / 0.5089 GB, free: 36.39 MB / 378.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.0002562/0.3589, allocations: 367 kB / 0.5093 GB, free: 36.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.359, allocations: 8.719 kB / 0.5093 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.359, allocations: 7.656 kB / 0.5093 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.3591, allocations: 174.5 kB / 0.5095 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.3591, allocations: 11.19 kB / 0.5095 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3591, allocations: 3.281 kB / 0.5095 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3593, allocations: 120.3 kB / 0.5096 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3593, allocations: 2.875 kB / 0.5096 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3593, allocations: 3.938 kB / 0.5096 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.3593, allocations: 30.67 kB / 0.5096 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.3594, allocations: 41.52 kB / 0.5097 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.3598, allocations: 0.8916 MB / 0.5106 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.3598, allocations: 173.1 kB / 0.5107 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.3599, allocations: 80.14 kB / 0.5108 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3599, allocations: 83.22 kB / 0.5109 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3599, allocations: 112.8 kB / 0.511 GB, free: 34.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3599, allocations: 0 / 0.511 GB, free: 34.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.556e-05/0.36, allocations: 32.45 kB / 0.511 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.36, allocations: 126.7 kB / 0.5111 GB, free: 34.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3602, allocations: 187.7 kB / 0.5113 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.3602, allocations: 28.52 kB / 0.5113 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.3602, allocations: 149.6 kB / 0.5115 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.3602, allocations: 0 / 0.5115 GB, free: 33.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.3603, allocations: 43.73 kB / 0.5115 GB, free: 33.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.3603, allocations: 325 kB / 0.5118 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.3604, allocations: 34.77 kB / 0.5119 GB, free: 33.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.3605, allocations: 152 kB / 0.512 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3606, allocations: 206 kB / 0.5122 GB, free: 33.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3606, allocations: 2.844 kB / 0.5122 GB, free: 33.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002324/0.3609, allocations: 201.6 kB / 0.5124 GB, free: 33.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3609, allocations: 5.906 kB / 0.5124 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3609, allocations: 5.656 kB / 0.5124 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3609, allocations: 5.531 kB / 0.5124 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.361, allocations: 39 kB / 0.5125 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.361, allocations: 9.234 kB / 0.5125 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.3611, allocations: 24.38 kB / 0.5125 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3611, allocations: 15 kB / 0.5125 GB, free: 32.99 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/0.3612, allocations: 218.2 kB / 0.5127 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.3613, allocations: 118.2 kB / 0.5128 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.3613, allocations: 114.9 kB / 0.5129 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/0.3614, allocations: 182.9 kB / 0.5131 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/0.3614, allocations: 176.3 kB / 0.5133 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.3614, allocations: 191 kB / 0.5135 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.3616, allocations: 422.6 kB / 0.5139 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.3616, allocations: 104.9 kB / 0.514 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.3616, allocations: 108.9 kB / 0.5141 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.473e-05/0.3616, allocations: 183 kB / 0.5142 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3617, allocations: 180.2 kB / 0.5144 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.366e-05/0.3617, allocations: 183.6 kB / 0.5146 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.393e-05/0.3617, allocations: 179 kB / 0.5148 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.3619, allocations: 0.8578 MB / 0.5156 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.362, allocations: 192.3 kB / 0.5158 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.362, allocations: 180.2 kB / 0.516 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.3621, allocations: 103.9 kB / 0.516 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3621, allocations: 176.3 kB / 0.5162 GB, free: 29.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.3622, allocations: 108.9 kB / 0.5163 GB, free: 28.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.3622, allocations: 135.3 kB / 0.5165 GB, free: 28.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3623, allocations: 4 kB / 0.5165 GB, free: 28.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.3626, allocations: 23.94 kB / 0.5165 GB, free: 28.79 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000505/0.3631, allocations: 264.6 kB / 0.5167 GB, free: 28.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3633, allocations: 75.56 kB / 0.5168 GB, free: 28.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3633, allocations: 3.219 kB / 0.5168 GB, free: 28.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.3633, allocations: 4 kB / 0.5168 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3636, allocations: 0.531 MB / 0.5173 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.364, allocations: 270.3 kB / 0.5176 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3642, allocations: 0.6971 MB / 0.5183 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.3645, allocations: 49.95 kB / 0.5183 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.3645, allocations: 18.11 kB / 0.5183 GB, free: 27.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3645, allocations: 0 / 0.5183 GB, free: 27.11 MB / 378.7 MB Notification: Performance of Templates: time 0.002633/0.3671, allocations: 0.6691 MB / 0.519 GB, free: 27 MB / 378.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@2/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