Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009953/0.0009954, allocations: 178.4 kB / 17.41 MB, free: 4.293 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.331/1.331, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0007413/0.0007413, allocations: 95.83 kB / 295 MB, free: 9.508 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.3416/0.3416, allocations: 44.31 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 12 kB / 463.2 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3629, allocations: 61.89 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001661/0.3646, allocations: 1.315 MB / 0.514 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006523/0.3653, allocations: 484.8 kB / 0.5145 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.3654, allocations: 3.156 kB / 0.5145 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.3658, allocations: 451.2 kB / 0.5149 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.366, allocations: 240.2 kB / 0.5151 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.3663, allocations: 117.2 kB / 0.5153 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3665, allocations: 161.1 kB / 0.5154 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.3666, allocations: 15.2 kB / 0.5154 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3668, allocations: 111.3 kB / 0.5155 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.367, allocations: 200.3 kB / 0.5157 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.367, allocations: 2.844 kB / 0.5157 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.3671, allocations: 26.97 kB / 0.5158 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3672, allocations: 86.14 kB / 0.5158 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.3673, allocations: 123.7 kB / 0.516 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3675, allocations: 243.6 kB / 0.5162 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3675, allocations: 4 kB / 0.5162 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3675, allocations: 0 / 0.5162 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3676, allocations: 0 / 0.5162 GB, free: 36.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005553/0.3681, allocations: 0.5922 MB / 0.5168 GB, free: 35.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3682, allocations: 8.844 kB / 0.5168 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.3682, allocations: 38.22 kB / 0.5168 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3684, allocations: 296.9 kB / 0.5171 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3685, allocations: 11.08 kB / 0.5171 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3685, allocations: 7.281 kB / 0.5171 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3686, allocations: 62.38 kB / 0.5172 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3687, allocations: 0 / 0.5172 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3687, allocations: 2.969 kB / 0.5172 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3687, allocations: 0.5625 kB / 0.5172 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3688, allocations: 41.77 kB / 0.5172 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3693, allocations: 394.5 kB / 0.5176 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3694, allocations: 51.72 kB / 0.5176 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.3695, allocations: 27.69 kB / 0.5177 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3695, allocations: 2.047 kB / 0.5177 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3695, allocations: 31.12 kB / 0.5177 GB, free: 34.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3695, allocations: 0 / 0.5177 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007869/0.3703, allocations: 318.2 kB / 0.518 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.3703, allocations: 55.55 kB / 0.5181 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.371, allocations: 0.8515 MB / 0.5189 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.371, allocations: 25.7 kB / 0.5189 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3712, allocations: 207.7 kB / 0.5191 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3712, allocations: 30.47 kB / 0.5191 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3712, allocations: 0 / 0.5191 GB, free: 34.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.3713, allocations: 362.2 kB / 0.5195 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3714, allocations: 37.31 kB / 0.5195 GB, free: 33.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.3715, allocations: 43.56 kB / 0.5196 GB, free: 33.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3717, allocations: 101.2 kB / 0.5197 GB, free: 33.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3717, allocations: 0 / 0.5197 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002503/0.3719, allocations: 157.2 kB / 0.5198 GB, free: 33.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.372, allocations: 5.906 kB / 0.5198 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.372, allocations: 320 / 0.5198 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.372, allocations: 3.938 kB / 0.5198 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3721, allocations: 23.3 kB / 0.5198 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3721, allocations: 0 / 0.5198 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.3722, allocations: 23.92 kB / 0.5199 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3722, allocations: 7.453 kB / 0.5199 GB, free: 33.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 0.0001385/0.3723, allocations: 218.2 kB / 0.5201 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.3724, allocations: 41.12 kB / 0.5201 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.3727, allocations: 175.8 kB / 0.5203 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3727, allocations: 0 / 0.5203 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3727, allocations: 0 / 0.5203 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3727, allocations: 7.312 kB / 0.5203 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.3733, allocations: 0.4999 MB / 0.5208 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3733, allocations: 0 / 0.5208 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.3734, allocations: 25.3 kB / 0.5208 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3734, allocations: 0 / 0.5208 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3734, allocations: 10.47 kB / 0.5208 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3734, allocations: 3.328 kB / 0.5208 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3734, allocations: 0 / 0.5208 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.3737, allocations: 261 kB / 0.5211 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.3737, allocations: 108.5 kB / 0.5212 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3738, allocations: 3.938 kB / 0.5212 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3739, allocations: 16.09 kB / 0.5212 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3739, allocations: 12.78 kB / 0.5212 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3739, allocations: 4 kB / 0.5212 GB, free: 32.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004444/0.3744, allocations: 0.6439 MB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3744, allocations: 0 / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.3746, allocations: 23.75 kB / 0.5219 GB, free: 32.54 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 (7): * Single equations (assignments): 7 * 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.000874/0.3755, allocations: 475.6 kB / 0.5223 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3758, allocations: 97.66 kB / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3758, allocations: 0 / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3759, allocations: 46.03 kB / 0.5224 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3763, allocations: 25.25 kB / 0.5225 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/0.3772, allocations: 0.8808 MB / 0.5233 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3774, allocations: 0.8249 MB / 0.5241 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.93e-05/0.3775, allocations: 9.938 kB / 0.5241 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.3775, allocations: 13.34 kB / 0.5242 GB, free: 31.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.3775, allocations: 0 / 0.5242 GB, free: 31.05 MB / 378.7 MB Notification: Performance of Templates: time 0.004427/0.382, allocations: 1.418 MB / 0.5255 GB, free: 30.87 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches