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.001264/0.001264, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001216/0.001216, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.336/1.336, allocations: 222.9 MB / 243.1 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.2166/0.2166, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4009, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002872/0.4038, allocations: 1.636 MB / 0.5212 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000796/0.4046, allocations: 0.6817 MB / 0.5218 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.4047, allocations: 1.062 kB / 0.5218 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.405, allocations: 32.86 kB / 0.5219 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.4052, allocations: 39.77 kB / 0.5219 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.4052, allocations: 0 / 0.5219 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.4054, allocations: 37.92 kB / 0.5219 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.4054, allocations: 3.938 kB / 0.5219 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.4054, allocations: 12.17 kB / 0.5219 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.4055, allocations: 13.91 kB / 0.522 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.4055, allocations: 0 / 0.522 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.128e-05/0.4056, allocations: 11.61 kB / 0.522 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.4056, allocations: 14.5 kB / 0.522 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.4057, allocations: 19.91 kB / 0.522 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.4058, allocations: 72.55 kB / 0.5221 GB, free: 2.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4058, allocations: 0 / 0.5221 GB, free: 2.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4058, allocations: 4 kB / 0.5221 GB, free: 2.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4058, allocations: 0 / 0.5221 GB, free: 2.125 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.0003126/0.4062, allocations: 358.8 kB / 0.5224 GB, free: 1.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4062, allocations: 9.625 kB / 0.5224 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.4062, allocations: 7.438 kB / 0.5224 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4064, allocations: 177.1 kB / 0.5226 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4064, allocations: 2.375 kB / 0.5226 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.4064, allocations: 2.531 kB / 0.5226 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4066, allocations: 134.5 kB / 0.5227 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4066, allocations: 1.5 kB / 0.5227 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4066, allocations: 5.031 kB / 0.5227 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/0.4067, allocations: 23.61 kB / 0.5228 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.4067, allocations: 41.5 kB / 0.5228 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.4072, allocations: 0.8978 MB / 0.5237 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.4073, allocations: 178.1 kB / 0.5239 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.4073, allocations: 81.91 kB / 0.5239 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4073, allocations: 79.22 kB / 0.524 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4073, allocations: 107.5 kB / 0.5241 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4073, allocations: 0 / 0.5241 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.894e-05/0.4074, allocations: 34.66 kB / 0.5241 GB, free: 28 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.4075, allocations: 131.5 kB / 0.5243 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.4077, allocations: 189.7 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.4077, allocations: 25.7 kB / 0.5245 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.4078, allocations: 146.7 kB / 0.5246 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.4078, allocations: 2.516 kB / 0.5246 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.4079, allocations: 45.94 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.408, allocations: 321.4 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.4081, allocations: 32.41 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.4082, allocations: 153.5 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.4085, allocations: 203 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4085, allocations: 5.438 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003423/0.4088, allocations: 199.6 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4088, allocations: 7.734 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4089, allocations: 4.5 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4089, allocations: 6.906 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.409, allocations: 37.3 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.409, allocations: 14.66 kB / 0.5256 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.4091, allocations: 21 kB / 0.5256 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4092, allocations: 8.531 kB / 0.5256 GB, free: 14.72 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.0001405/0.4093, allocations: 214.4 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.4094, allocations: 116.7 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.4094, allocations: 116.3 kB / 0.5261 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/0.4095, allocations: 183.6 kB / 0.5262 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.749e-05/0.4096, allocations: 185.1 kB / 0.5264 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.798e-05/0.4097, allocations: 188.7 kB / 0.5266 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.4099, allocations: 421.9 kB / 0.527 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/0.41, allocations: 109.6 kB / 0.5271 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.41, allocations: 106.9 kB / 0.5272 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-05/0.4101, allocations: 182.5 kB / 0.5274 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/0.4101, allocations: 180.9 kB / 0.5275 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.027e-05/0.4102, allocations: 178.3 kB / 0.5277 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.285e-05/0.4103, allocations: 182.4 kB / 0.5279 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.4104, allocations: 315.5 kB / 0.5282 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.4105, allocations: 194.2 kB / 0.5284 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.4106, allocations: 186.3 kB / 0.5285 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.4107, allocations: 111 kB / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.4108, allocations: 177 kB / 0.5288 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.4108, allocations: 103.2 kB / 0.5289 GB, free: 11.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.411, allocations: 134.8 kB / 0.529 GB, free: 11.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.411, allocations: 0 / 0.529 GB, free: 11.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000314/0.4113, allocations: 15.41 kB / 0.5291 GB, free: 11.1 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.0004781/0.4118, allocations: 277.1 kB / 0.5293 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.4119, allocations: 79 kB / 0.5294 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4119, allocations: 1.219 kB / 0.5294 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.412, allocations: 0 / 0.5294 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4123, allocations: 466.7 kB / 0.5298 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.4127, allocations: 268.7 kB / 0.5301 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.413, allocations: 0.7062 MB / 0.5308 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4131, allocations: 17.16 kB / 0.5308 GB, free: 9.465 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4132, allocations: 0 / 0.5308 GB, free: 9.465 MB / 398.1 MB Notification: Performance of Templates: time 0.003356/0.4165, allocations: 1.283 MB / 0.5321 GB, free: 9.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/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