Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009423/0.0009424, allocations: 178.2 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.306/1.306, allocations: 225.7 MB / 243.9 MB, free: 8.473 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.0008355/0.0008358, allocations: 92.83 kB / 295 MB, free: 9.52 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.3768/0.3768, allocations: 44.33 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003394, allocations: 15.98 kB / 463.2 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3664, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002285/0.3687, allocations: 1.624 MB / 0.5143 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3701, allocations: 0.8674 MB / 0.5152 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3703, allocations: 3.156 kB / 0.5152 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.3707, allocations: 241.8 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.371, allocations: 174.5 kB / 0.5156 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009838/0.372, allocations: 461.5 kB / 0.516 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.3723, allocations: 264.8 kB / 0.5163 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3725, allocations: 63.22 kB / 0.5163 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3726, allocations: 109.1 kB / 0.5164 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.3728, allocations: 173.8 kB / 0.5166 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.3729, allocations: 3.375 kB / 0.5166 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.373, allocations: 63.38 kB / 0.5167 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3732, allocations: 79.38 kB / 0.5167 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.3733, allocations: 128.9 kB / 0.5169 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.3736, allocations: 270.1 kB / 0.5171 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3736, allocations: 1.312 kB / 0.5171 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3736, allocations: 0 / 0.5171 GB, free: 35.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3737, allocations: 3.938 kB / 0.5171 GB, free: 35.33 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006671/0.3743, allocations: 0.5691 MB / 0.5177 GB, free: 34.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.3744, allocations: 9.312 kB / 0.5177 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.3745, allocations: 37.34 kB / 0.5177 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3748, allocations: 307 kB / 0.518 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3748, allocations: 10.28 kB / 0.518 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.3748, allocations: 9.875 kB / 0.518 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.3751, allocations: 104.2 kB / 0.5181 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3751, allocations: 1.094 kB / 0.5181 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3752, allocations: 5.125 kB / 0.5181 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3752, allocations: 2.906 kB / 0.5181 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.3754, allocations: 82.19 kB / 0.5182 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.3761, allocations: 481.6 kB / 0.5187 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3763, allocations: 94.56 kB / 0.5188 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.3764, allocations: 37.8 kB / 0.5188 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.3764, allocations: 2.125 kB / 0.5188 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.3764, allocations: 32.56 kB / 0.5188 GB, free: 33.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.3764, allocations: 0 / 0.5188 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008594/0.3773, allocations: 410.9 kB / 0.5192 GB, free: 33.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.3773, allocations: 51.41 kB / 0.5193 GB, free: 33.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3778, allocations: 0.5128 MB / 0.5198 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3778, allocations: 29.7 kB / 0.5198 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3779, allocations: 195.4 kB / 0.52 GB, free: 33.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.378, allocations: 56.47 kB / 0.52 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.378, allocations: 4 kB / 0.52 GB, free: 33.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.3781, allocations: 347.9 kB / 0.5204 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3782, allocations: 51.77 kB / 0.5204 GB, free: 32.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.3783, allocations: 58.28 kB / 0.5205 GB, free: 32.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.3785, allocations: 122.8 kB / 0.5206 GB, free: 32.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3785, allocations: 3.938 kB / 0.5206 GB, free: 32.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002791/0.3788, allocations: 204 kB / 0.5208 GB, free: 32.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3788, allocations: 5.938 kB / 0.5208 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3789, allocations: 0 / 0.5208 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3789, allocations: 2.781 kB / 0.5208 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.379, allocations: 39.64 kB / 0.5208 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.379, allocations: 0 / 0.5208 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.3791, allocations: 12.91 kB / 0.5209 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3791, allocations: 6.969 kB / 0.5209 GB, free: 32.72 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 (17): * Single equations (assignments): 17 * 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.0001381/0.3793, allocations: 182.1 kB / 0.521 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.3793, allocations: 35 kB / 0.5211 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.3798, allocations: 252.5 kB / 0.5213 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3798, allocations: 2.875 kB / 0.5213 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3798, allocations: 0 / 0.5213 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3798, allocations: 0 / 0.5213 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.3805, allocations: 0.6172 MB / 0.5219 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3805, allocations: 3.094 kB / 0.5219 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3806, allocations: 36.25 kB / 0.522 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3806, allocations: 2.812 kB / 0.522 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3806, allocations: 4 kB / 0.522 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3806, allocations: 2.969 kB / 0.522 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3806, allocations: 3.938 kB / 0.522 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.3809, allocations: 296.9 kB / 0.5223 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.381, allocations: 118 kB / 0.5224 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.381, allocations: 0 / 0.5224 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.3811, allocations: 11.59 kB / 0.5224 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3812, allocations: 23.52 kB / 0.5224 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3812, allocations: 9.188 kB / 0.5224 GB, free: 31.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003214/0.3815, allocations: 379.6 kB / 0.5228 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3815, allocations: 0 / 0.5228 GB, free: 31.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.3818, allocations: 50.06 kB / 0.5228 GB, free: 31.51 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 (17): * Single equations (assignments): 17 * 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.001563/0.3834, allocations: 0.8106 MB / 0.5236 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.3837, allocations: 144.9 kB / 0.5237 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3837, allocations: 0 / 0.5237 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3838, allocations: 75.83 kB / 0.5238 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.3844, allocations: 80.41 kB / 0.5239 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.3853, allocations: 0.7623 MB / 0.5246 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.3855, allocations: 0.8001 MB / 0.5254 GB, free: 29.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.3857, allocations: 40.84 kB / 0.5255 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.3857, allocations: 32 kB / 0.5255 GB, free: 29.77 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3857, allocations: 0 / 0.5255 GB, free: 29.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006275/0.392, allocations: 3.012 MB / 0.5284 GB, free: 29.43 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches