Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 173.6 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.31/1.31, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008495/0.0008496, allocations: 93.5 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.3449/0.3449, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 11.94 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3495, allocations: 61.9 MB / 0.5127 GB, free: 38.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.001728/0.3512, allocations: 1.617 MB / 0.5143 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3524, allocations: 0.8779 MB / 0.5152 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.3525, allocations: 2.812 kB / 0.5152 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.3529, allocations: 236.1 kB / 0.5154 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.3532, allocations: 179.4 kB / 0.5156 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.3541, allocations: 456.1 kB / 0.516 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.3544, allocations: 268.6 kB / 0.5163 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3545, allocations: 63.61 kB / 0.5163 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.3546, allocations: 113.2 kB / 0.5164 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3548, allocations: 187.2 kB / 0.5166 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3548, allocations: 5.781 kB / 0.5166 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3549, allocations: 82.06 kB / 0.5167 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/0.355, allocations: 77.3 kB / 0.5168 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.3551, allocations: 125.1 kB / 0.5169 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3554, allocations: 285.1 kB / 0.5172 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3554, allocations: 0 / 0.5172 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3554, allocations: 0 / 0.5172 GB, free: 35.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3554, allocations: 0 / 0.5172 GB, free: 35.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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005409/0.356, allocations: 0.5855 MB / 0.5177 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.356, allocations: 8.844 kB / 0.5177 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.3561, allocations: 36.91 kB / 0.5178 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3564, allocations: 303.2 kB / 0.5181 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3564, allocations: 9.188 kB / 0.5181 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3564, allocations: 7.906 kB / 0.5181 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.3566, allocations: 106.8 kB / 0.5182 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3567, allocations: 5.484 kB / 0.5182 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3567, allocations: 5 kB / 0.5182 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3567, allocations: 2.438 kB / 0.5182 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.3569, allocations: 75.28 kB / 0.5183 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.3573, allocations: 485.6 kB / 0.5187 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3575, allocations: 87.56 kB / 0.5188 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.3575, allocations: 42.5 kB / 0.5189 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3576, allocations: 6.734 kB / 0.5189 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.3576, allocations: 34.56 kB / 0.5189 GB, free: 34.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3576, allocations: 0 / 0.5189 GB, free: 34.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.000725/0.3583, allocations: 403.2 kB / 0.5193 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.3584, allocations: 58.25 kB / 0.5193 GB, free: 33.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.3588, allocations: 0.513 MB / 0.5198 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3588, allocations: 25.7 kB / 0.5199 GB, free: 33.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.3589, allocations: 194 kB / 0.52 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3589, allocations: 61.39 kB / 0.5201 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.359, allocations: 4 kB / 0.5201 GB, free: 33.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.359, allocations: 351.6 kB / 0.5204 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.786e-05/0.3591, allocations: 50.84 kB / 0.5205 GB, free: 32.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.3592, allocations: 58.2 kB / 0.5205 GB, free: 32.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3594, allocations: 122.6 kB / 0.5207 GB, free: 32.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3594, allocations: 3.938 kB / 0.5207 GB, free: 32.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002573/0.3597, allocations: 207 kB / 0.5209 GB, free: 32.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3597, allocations: 6.094 kB / 0.5209 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3597, allocations: 0 / 0.5209 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3597, allocations: 0 / 0.5209 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3599, allocations: 43.47 kB / 0.5209 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3599, allocations: 2.656 kB / 0.5209 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.3599, allocations: 9.344 kB / 0.5209 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.36, allocations: 8.375 kB / 0.5209 GB, free: 32.77 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.0001179/0.3601, allocations: 174.3 kB / 0.5211 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.3601, allocations: 34.88 kB / 0.5211 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.3605, allocations: 251.6 kB / 0.5214 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3605, allocations: 2.906 kB / 0.5214 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3605, allocations: 0 / 0.5214 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3605, allocations: 0 / 0.5214 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.3611, allocations: 0.6185 MB / 0.522 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3611, allocations: 0 / 0.522 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.3612, allocations: 36.81 kB / 0.522 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3612, allocations: 4 kB / 0.522 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3613, allocations: 10.5 kB / 0.522 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3613, allocations: 0 / 0.522 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3613, allocations: 3.938 kB / 0.522 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3615, allocations: 304.1 kB / 0.5223 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.3616, allocations: 115.4 kB / 0.5224 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.3616, allocations: 2.875 kB / 0.5224 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.3617, allocations: 7 kB / 0.5224 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.3618, allocations: 18.97 kB / 0.5225 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.3618, allocations: 2.938 kB / 0.5225 GB, free: 31.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002917/0.3621, allocations: 389.4 kB / 0.5228 GB, free: 31.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3621, allocations: 2.75 kB / 0.5228 GB, free: 31.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.3624, allocations: 43.34 kB / 0.5229 GB, free: 31.55 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.001558/0.3639, allocations: 0.8066 MB / 0.5237 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3642, allocations: 138.8 kB / 0.5238 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3643, allocations: 4 kB / 0.5238 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3644, allocations: 77.3 kB / 0.5239 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.3649, allocations: 71.91 kB / 0.5239 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.3656, allocations: 0.7615 MB / 0.5247 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3659, allocations: 0.8054 MB / 0.5255 GB, free: 29.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.975e-05/0.366, allocations: 41.41 kB / 0.5255 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.366, allocations: 27.69 kB / 0.5255 GB, free: 29.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.366, allocations: 0 / 0.5255 GB, free: 29.83 MB / 378.7 MB Notification: Performance of Templates: time 0.005234/0.3713, allocations: 3.01 MB / 0.5285 GB, free: 29.49 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches