Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 180.2 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.7 MB / 243.9 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007013/0.0007013, allocations: 94.38 kB / 295 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3649/0.3649, allocations: 44.32 MB / 390.5 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 8 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3417, allocations: 61.9 MB / 0.5127 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001748/0.3435, allocations: 1.326 MB / 0.514 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000741/0.3443, allocations: 0.8122 MB / 0.5148 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.3443, allocations: 0 / 0.5148 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3445, allocations: 24.36 kB / 0.5148 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.3447, allocations: 41.25 kB / 0.5149 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.3447, allocations: 4 kB / 0.5149 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3449, allocations: 55.28 kB / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.345, allocations: 2.875 kB / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.345, allocations: 8.609 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.3451, allocations: 25.97 kB / 0.515 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.3451, allocations: 0 / 0.515 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.3451, allocations: 13.77 kB / 0.515 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.3452, allocations: 11.2 kB / 0.515 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.3452, allocations: 51.02 kB / 0.5151 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3453, allocations: 67.56 kB / 0.5151 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3453, allocations: 3.938 kB / 0.5151 GB, free: 36.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3454, allocations: 0 / 0.5151 GB, free: 36.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3454, allocations: 0 / 0.5151 GB, free: 36.1 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.0002691/0.3456, allocations: 348.2 kB / 0.5155 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3457, allocations: 10.59 kB / 0.5155 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.3457, allocations: 7.844 kB / 0.5155 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.3458, allocations: 174 kB / 0.5156 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3458, allocations: 10.88 kB / 0.5156 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.3459, allocations: 4.375 kB / 0.5157 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.346, allocations: 119.7 kB / 0.5158 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.346, allocations: 192 / 0.5158 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.346, allocations: 7.938 kB / 0.5158 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.3461, allocations: 23.16 kB / 0.5158 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.3461, allocations: 47.92 kB / 0.5158 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.3465, allocations: 0.8884 MB / 0.5167 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.3466, allocations: 180.6 kB / 0.5169 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.3466, allocations: 84.05 kB / 0.517 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3467, allocations: 79.22 kB / 0.517 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3467, allocations: 105.8 kB / 0.5171 GB, free: 34.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3467, allocations: 0 / 0.5171 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.885e-05/0.3468, allocations: 37.27 kB / 0.5172 GB, free: 34.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3468, allocations: 130.6 kB / 0.5173 GB, free: 33.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3469, allocations: 188.3 kB / 0.5175 GB, free: 33.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.3469, allocations: 25.7 kB / 0.5175 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.347, allocations: 150.4 kB / 0.5176 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.347, allocations: 0 / 0.5176 GB, free: 33.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.347, allocations: 6.969 kB / 0.5177 GB, free: 33.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.3471, allocations: 321 kB / 0.518 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.3471, allocations: 36.16 kB / 0.518 GB, free: 33.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.3472, allocations: 152.4 kB / 0.5181 GB, free: 33.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3473, allocations: 206 kB / 0.5183 GB, free: 32.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3473, allocations: 0 / 0.5183 GB, free: 32.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002333/0.3476, allocations: 195.4 kB / 0.5185 GB, free: 32.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3476, allocations: 8.062 kB / 0.5185 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3476, allocations: 10.06 kB / 0.5185 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3476, allocations: 8.578 kB / 0.5185 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3478, allocations: 38.7 kB / 0.5186 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3478, allocations: 9.375 kB / 0.5186 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.3479, allocations: 22.69 kB / 0.5186 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3479, allocations: 8.719 kB / 0.5186 GB, free: 32.73 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.021e-05/0.348, allocations: 212 kB / 0.5188 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.348, allocations: 121.7 kB / 0.5189 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.348, allocations: 114.2 kB / 0.519 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.3481, allocations: 183.5 kB / 0.5192 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/0.3481, allocations: 182.8 kB / 0.5194 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.3481, allocations: 180.3 kB / 0.5196 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.3483, allocations: 419 kB / 0.52 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.3483, allocations: 108.9 kB / 0.5201 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.3483, allocations: 115.2 kB / 0.5202 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.421e-05/0.3484, allocations: 180.2 kB / 0.5204 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.3484, allocations: 180.3 kB / 0.5205 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.72e-05/0.3484, allocations: 183.4 kB / 0.5207 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-05/0.3485, allocations: 183.6 kB / 0.5209 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.94e-05/0.3485, allocations: 313.6 kB / 0.5212 GB, free: 30.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.3486, allocations: 193.1 kB / 0.5214 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.3486, allocations: 181.5 kB / 0.5215 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/0.3487, allocations: 106.3 kB / 0.5216 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.3487, allocations: 176.3 kB / 0.5218 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3487, allocations: 110.3 kB / 0.5219 GB, free: 29.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.3488, allocations: 127.4 kB / 0.522 GB, free: 29.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3488, allocations: 0 / 0.522 GB, free: 29.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.3491, allocations: 15.75 kB / 0.522 GB, free: 29.13 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.0004789/0.3496, allocations: 302.7 kB / 0.5223 GB, free: 28.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.3497, allocations: 76.36 kB / 0.5224 GB, free: 28.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3497, allocations: 3.938 kB / 0.5224 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.3497, allocations: 1.094 kB / 0.5224 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.35, allocations: 0.5326 MB / 0.5229 GB, free: 28.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.3503, allocations: 266.4 kB / 0.5232 GB, free: 28.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.3504, allocations: 0.7008 MB / 0.5239 GB, free: 27.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.3506, allocations: 49.84 kB / 0.5239 GB, free: 27.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.3506, allocations: 18.16 kB / 0.5239 GB, free: 27.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3506, allocations: 0 / 0.5239 GB, free: 27.39 MB / 378.7 MB Notification: Performance of Templates: time 0.002542/0.3532, allocations: 0.65 MB / 0.5246 GB, free: 27.29 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/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