Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001219/0.001219, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2172/0.2172, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4891, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00416/0.4933, allocations: 1.625 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4944, allocations: 454.1 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.4945, allocations: 0 / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.4955, allocations: 451.6 kB / 0.5214 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.4961, allocations: 249 kB / 0.5216 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.4967, allocations: 174.9 kB / 0.5218 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.497, allocations: 174.5 kB / 0.5219 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4972, allocations: 18.92 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.4974, allocations: 112.7 kB / 0.5221 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.4977, allocations: 213.7 kB / 0.5223 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.4978, allocations: 6.375 kB / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.4979, allocations: 44.11 kB / 0.5223 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.498, allocations: 81.56 kB / 0.5224 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.4981, allocations: 96.52 kB / 0.5225 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.4985, allocations: 259.8 kB / 0.5227 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4985, allocations: 1.812 kB / 0.5227 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4985, allocations: 0 / 0.5227 GB, free: 1.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4985, allocations: 4 kB / 0.5227 GB, free: 1.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007826/0.4993, allocations: 0.6368 MB / 0.5234 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4994, allocations: 10.5 kB / 0.5234 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.4994, allocations: 41.84 kB / 0.5234 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.4997, allocations: 302.5 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.4997, allocations: 1.75 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.4997, allocations: 7.125 kB / 0.5237 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4999, allocations: 63.16 kB / 0.5238 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5, allocations: 1.562 kB / 0.5238 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5, allocations: 4 kB / 0.5238 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5, allocations: 2.094 kB / 0.5238 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.5002, allocations: 34.34 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009725/0.5012, allocations: 401.9 kB / 0.5242 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.5014, allocations: 45.91 kB / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.5015, allocations: 26.62 kB / 0.5243 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.5016, allocations: 5.312 kB / 0.5243 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.5016, allocations: 30.56 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.5016, allocations: 5.219 kB / 0.5243 GB, free: 412 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001175/0.5028, allocations: 310 kB / 0.5246 GB, free: 264 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5028, allocations: 52.34 kB / 0.5247 GB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.5041, allocations: 0.8546 MB / 0.5255 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.5041, allocations: 25.7 kB / 0.5255 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.5043, allocations: 223.5 kB / 0.5257 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.5044, allocations: 18.47 kB / 0.5257 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.5045, allocations: 19.22 kB / 0.5258 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.5047, allocations: 364.6 kB / 0.5261 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.5048, allocations: 36.59 kB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.505, allocations: 42.03 kB / 0.5262 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.5052, allocations: 94.16 kB / 0.5263 GB, free: 15.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5052, allocations: 0 / 0.5263 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00039/0.5056, allocations: 149.5 kB / 0.5264 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5057, allocations: 5.625 kB / 0.5264 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5057, allocations: 0 / 0.5264 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.5057, allocations: 1.531 kB / 0.5264 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.5059, allocations: 25.98 kB / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5059, allocations: 5.281 kB / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.506, allocations: 13.14 kB / 0.5265 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.506, allocations: 2.656 kB / 0.5265 GB, free: 15.04 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0002681/0.5063, allocations: 219 kB / 0.5267 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.5064, allocations: 41.59 kB / 0.5267 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.5068, allocations: 182.6 kB / 0.5269 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5069, allocations: 5.344 kB / 0.5269 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5069, allocations: 0 / 0.5269 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.5069, allocations: 7.922 kB / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007872/0.5077, allocations: 0.4953 MB / 0.5274 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5077, allocations: 5 kB / 0.5274 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.5078, allocations: 22.58 kB / 0.5274 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5078, allocations: 0 / 0.5274 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.5078, allocations: 9.188 kB / 0.5274 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5078, allocations: 1.562 kB / 0.5274 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5078, allocations: 3.938 kB / 0.5274 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.5083, allocations: 257.2 kB / 0.5277 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.5083, allocations: 106.6 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.5084, allocations: 5.312 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.5085, allocations: 9.266 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.5086, allocations: 10.62 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5086, allocations: 5.906 kB / 0.5278 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008337/0.5094, allocations: 0.6412 MB / 0.5284 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5094, allocations: 1.281 kB / 0.5284 GB, free: 13.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.5097, allocations: 28.25 kB / 0.5285 GB, free: 13.65 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 (7): * Single equations (assignments): 7 * 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.001029/0.5107, allocations: 402.2 kB / 0.5288 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.5111, allocations: 96.41 kB / 0.5289 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5111, allocations: 1.406 kB / 0.5289 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5113, allocations: 50.94 kB / 0.529 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.5117, allocations: 29.3 kB / 0.529 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.5131, allocations: 0.8015 MB / 0.5298 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.5136, allocations: 0.8341 MB / 0.5306 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.174e-05/0.5137, allocations: 27.38 kB / 0.5306 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.5137, allocations: 12.56 kB / 0.5306 GB, free: 12.15 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5137, allocations: 0 / 0.5306 GB, free: 12.15 MB / 398.1 MB Notification: Performance of Templates: time 0.005668/0.5194, allocations: 1.6 MB / 0.5322 GB, free: 11.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches