Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 177.5 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.348/1.348, 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.0007902/0.0007903, allocations: 94.75 kB / 295 MB, free: 9.504 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.3748/0.3748, allocations: 44.31 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 11.94 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4295, allocations: 61.9 MB / 0.5127 GB, free: 37.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001848/0.4314, allocations: 1.358 MB / 0.5141 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.4321, allocations: 0.4893 MB / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.4321, allocations: 0 / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.4323, allocations: 23.88 kB / 0.5146 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.4325, allocations: 35.05 kB / 0.5146 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.4328, allocations: 120.9 kB / 0.5147 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.4329, allocations: 76.73 kB / 0.5148 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.4331, allocations: 16.52 kB / 0.5148 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.4331, allocations: 26.55 kB / 0.5148 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.4332, allocations: 38.47 kB / 0.5149 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4332, allocations: 2.875 kB / 0.5149 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.4333, allocations: 43.59 kB / 0.5149 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.4334, allocations: 29.09 kB / 0.5149 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.4334, allocations: 44.8 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.4336, allocations: 114.8 kB / 0.5151 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4336, allocations: 0 / 0.5151 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4336, allocations: 4 kB / 0.5151 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.4337, allocations: 2.906 kB / 0.5151 GB, free: 36.25 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.0005184/0.4342, allocations: 406.3 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4342, allocations: 15.53 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.4343, allocations: 14.81 kB / 0.5155 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.4344, allocations: 183.8 kB / 0.5157 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4345, allocations: 384 / 0.5157 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.4345, allocations: 7.406 kB / 0.5157 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.4347, allocations: 110.6 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4348, allocations: 7.188 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4348, allocations: 0 / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4348, allocations: 0 / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.4351, allocations: 97.16 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.4355, allocations: 306.5 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.4358, allocations: 82.78 kB / 0.5163 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.436, allocations: 55.34 kB / 0.5163 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.436, allocations: 1.062 kB / 0.5163 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.436, allocations: 36.39 kB / 0.5164 GB, free: 35.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.436, allocations: 0 / 0.5164 GB, free: 35.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001488/0.4375, allocations: 481.3 kB / 0.5168 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4376, allocations: 80.44 kB / 0.5169 GB, free: 34.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4377, allocations: 138.9 kB / 0.517 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.4377, allocations: 31.8 kB / 0.5171 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.4377, allocations: 101.9 kB / 0.5172 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.4378, allocations: 28.2 kB / 0.5172 GB, free: 34.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.4378, allocations: 0 / 0.5172 GB, free: 34.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.4379, allocations: 321.2 kB / 0.5175 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.4381, allocations: 92.34 kB / 0.5176 GB, free: 34.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.4384, allocations: 112.2 kB / 0.5177 GB, free: 34.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.4389, allocations: 194.6 kB / 0.5179 GB, free: 34.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4389, allocations: 0 / 0.5179 GB, free: 34.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005904/0.4395, allocations: 234.3 kB / 0.5181 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4395, allocations: 8.875 kB / 0.5181 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4395, allocations: 1.156 kB / 0.5181 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4396, allocations: 0 / 0.5181 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.4398, allocations: 54.77 kB / 0.5182 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4398, allocations: 0 / 0.5182 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4399, allocations: 40.61 kB / 0.5182 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.44, allocations: 11.14 kB / 0.5182 GB, free: 34.16 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 (10): * Single equations (assignments): 10 * 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 7.15e-05/0.44, allocations: 119.7 kB / 0.5183 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4401, allocations: 8.719 kB / 0.5183 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.4408, allocations: 253.7 kB / 0.5186 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4408, allocations: 0 / 0.5186 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4408, allocations: 0.6094 kB / 0.5186 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4408, allocations: 4.594 kB / 0.5186 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/0.4416, allocations: 0.5275 MB / 0.5191 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4416, allocations: 0 / 0.5191 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.4418, allocations: 53.88 kB / 0.5191 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4418, allocations: 3.938 kB / 0.5191 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4418, allocations: 0 / 0.5191 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4418, allocations: 2.531 kB / 0.5191 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4418, allocations: 0 / 0.5191 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.4423, allocations: 327.1 kB / 0.5195 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.4424, allocations: 90.94 kB / 0.5195 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.4424, allocations: 4 kB / 0.5195 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.4426, allocations: 37.17 kB / 0.5196 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.4426, allocations: 9.328 kB / 0.5196 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4427, allocations: 0 / 0.5196 GB, free: 33.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.4427, allocations: 119.5 kB / 0.5197 GB, free: 33.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4427, allocations: 0 / 0.5197 GB, free: 33.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.443, allocations: 35.88 kB / 0.5197 GB, free: 33.2 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 (9): * Single equations (assignments): 9 * 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.00102/0.444, allocations: 0.5107 MB / 0.5202 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006045/0.4447, allocations: 205.9 kB / 0.5204 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4447, allocations: 0 / 0.5204 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.4449, allocations: 104.5 kB / 0.5205 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.4453, allocations: 24.66 kB / 0.5206 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.4457, allocations: 241.7 kB / 0.5208 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.4459, allocations: 0.7006 MB / 0.5215 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.217e-05/0.4459, allocations: 12.28 kB / 0.5215 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.446, allocations: 17.53 kB / 0.5215 GB, free: 31.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.446, allocations: 3 kB / 0.5215 GB, free: 31.94 MB / 378.7 MB Notification: Performance of Templates: time 0.004302/0.4503, allocations: 1.895 MB / 0.5234 GB, free: 31.74 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches