Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4047, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002843/0.4076, allocations: 1.622 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008011/0.4084, allocations: 0.6827 MB / 0.5212 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.4085, allocations: 1.125 kB / 0.5212 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.4088, allocations: 32.72 kB / 0.5212 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.409, allocations: 39.25 kB / 0.5212 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.36e-06/0.409, allocations: 0 / 0.5212 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.4092, allocations: 37.67 kB / 0.5213 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.4092, allocations: 4.031 kB / 0.5213 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.4093, allocations: 8.766 kB / 0.5213 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.4093, allocations: 17.27 kB / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.4094, allocations: 0 / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.338e-05/0.4094, allocations: 15.2 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.4095, allocations: 19.03 kB / 0.5213 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.4095, allocations: 20.31 kB / 0.5213 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.4096, allocations: 66.59 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4097, allocations: 0.7969 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4097, allocations: 1.281 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4097, allocations: 0 / 0.5214 GB, free: 1.871 MB / 382.1 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.0002972/0.41, allocations: 362.1 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.41, allocations: 9.156 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.4101, allocations: 7.781 kB / 0.5218 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.4102, allocations: 176.3 kB / 0.5219 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4102, allocations: 6.109 kB / 0.5219 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.4102, allocations: 10.81 kB / 0.522 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4104, allocations: 117.2 kB / 0.5221 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4104, allocations: 192 / 0.5221 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4104, allocations: 9.391 kB / 0.5221 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.611e-05/0.4105, allocations: 27.41 kB / 0.5221 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.4106, allocations: 45.77 kB / 0.5221 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.411, allocations: 0.8904 MB / 0.523 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.363e-05/0.411, allocations: 175 kB / 0.5232 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.4111, allocations: 84.14 kB / 0.5233 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.727e-05/0.4111, allocations: 79.22 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.4112, allocations: 111.7 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.4112, allocations: 0 / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001448/0.4113, allocations: 34.75 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.4114, allocations: 131.8 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4116, allocations: 189.1 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4116, allocations: 25.7 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.4117, allocations: 151.1 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.4117, allocations: 2.828 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.4118, allocations: 46.73 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.412, allocations: 322 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.412, allocations: 31.12 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4122, allocations: 156.1 kB / 0.5245 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.4124, allocations: 206.4 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4124, allocations: 5.734 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003185/0.4127, allocations: 191.6 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4128, allocations: 12.55 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4128, allocations: 3.844 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4128, allocations: 5.781 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4129, allocations: 37.67 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.4129, allocations: 12.25 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.413, allocations: 23.75 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4131, allocations: 8.781 kB / 0.525 GB, free: 14.46 MB / 398.1 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 0.0001348/0.4132, allocations: 217.8 kB / 0.5252 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.4133, allocations: 117.8 kB / 0.5253 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.4133, allocations: 116.8 kB / 0.5254 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-05/0.4134, allocations: 176.8 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.684e-05/0.4135, allocations: 194.5 kB / 0.5258 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.07e-05/0.4135, allocations: 178.2 kB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4138, allocations: 419.6 kB / 0.5263 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.4138, allocations: 114.9 kB / 0.5264 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.4139, allocations: 103 kB / 0.5265 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.544e-05/0.4139, allocations: 181 kB / 0.5267 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.414, allocations: 178.5 kB / 0.5269 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-05/0.4141, allocations: 178.5 kB / 0.527 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-05/0.4142, allocations: 188.9 kB / 0.5272 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.4143, allocations: 313 kB / 0.5275 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.4144, allocations: 189.2 kB / 0.5277 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.4145, allocations: 187.1 kB / 0.5279 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.4146, allocations: 106.8 kB / 0.528 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.4147, allocations: 182.2 kB / 0.5282 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.4147, allocations: 104.9 kB / 0.5283 GB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4148, allocations: 130.9 kB / 0.5284 GB, free: 10.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4148, allocations: 1.562 kB / 0.5284 GB, free: 10.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.4151, allocations: 11.16 kB / 0.5284 GB, free: 10.85 MB / 398.1 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.0004676/0.4156, allocations: 269.5 kB / 0.5287 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.4158, allocations: 78.91 kB / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4158, allocations: 0 / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4158, allocations: 0 / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4162, allocations: 467.5 kB / 0.5292 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.4165, allocations: 246.4 kB / 0.5294 GB, free: 9.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4168, allocations: 0.706 MB / 0.5301 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.417, allocations: 49.19 kB / 0.5301 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.417, allocations: 18.73 kB / 0.5302 GB, free: 9.238 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.417, allocations: 0 / 0.5302 GB, free: 9.238 MB / 398.1 MB Notification: Performance of Templates: time 0.003129/0.4201, allocations: 0.6928 MB / 0.5308 GB, free: 9.137 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches