Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 113.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001144, allocations: 211.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.749/1.749, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 79.86 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4867, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003288/0.49, allocations: 1.614 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.4911, allocations: 0.531 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.4912, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.4918, allocations: 453.2 kB / 0.5335 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.4923, allocations: 292 kB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.4927, allocations: 122.2 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.493, allocations: 168.3 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.4931, allocations: 9.781 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.4933, allocations: 105.4 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.4936, allocations: 210.3 kB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.4936, allocations: 2.469 kB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.4937, allocations: 23.03 kB / 0.5344 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.4938, allocations: 86.17 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.4939, allocations: 98.31 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.4943, allocations: 257.1 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4943, allocations: 4 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4943, allocations: 1.25 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4943, allocations: 0 / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000777/0.4951, allocations: 0.643 MB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4952, allocations: 9.875 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.4953, allocations: 46.83 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.4956, allocations: 298.1 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4956, allocations: 5.453 kB / 0.5358 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.4956, allocations: 1.5 kB / 0.5358 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4957, allocations: 51.81 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4958, allocations: 0 / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4958, allocations: 1.438 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4958, allocations: 0 / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.4959, allocations: 20.3 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.4964, allocations: 382.1 kB / 0.5363 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.4965, allocations: 35.16 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.4965, allocations: 14.53 kB / 0.5363 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4966, allocations: 1.031 kB / 0.5363 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.4966, allocations: 31.53 kB / 0.5363 GB, free: 9.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4966, allocations: 0 / 0.5363 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002989/0.4969, allocations: 106 kB / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.497, allocations: 56.88 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.4981, allocations: 0.8638 MB / 0.5373 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4981, allocations: 25.7 kB / 0.5374 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.4983, allocations: 221.3 kB / 0.5376 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.4983, allocations: 13.05 kB / 0.5376 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.4984, allocations: 13.12 kB / 0.5376 GB, free: 8.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.4986, allocations: 363.4 kB / 0.538 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.4987, allocations: 13.16 kB / 0.538 GB, free: 8.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.4987, allocations: 9.141 kB / 0.538 GB, free: 8.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.4988, allocations: 24.88 kB / 0.538 GB, free: 8.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4988, allocations: 0 / 0.538 GB, free: 8.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.499, allocations: 93.31 kB / 0.5381 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.499, allocations: 4.594 kB / 0.5381 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.499, allocations: 1.156 kB / 0.5381 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.499, allocations: 4.094 kB / 0.5381 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.4991, allocations: 8.562 kB / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4991, allocations: 1.125 kB / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.4992, allocations: 5.141 kB / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4992, allocations: 1.219 kB / 0.5381 GB, free: 8.34 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 (2): * Single equations (assignments): 2 * 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.0002378/0.4994, allocations: 213.2 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.4995, allocations: 41.81 kB / 0.5384 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.4998, allocations: 115.2 kB / 0.5385 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4998, allocations: 1.094 kB / 0.5385 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4998, allocations: 0 / 0.5385 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4998, allocations: 3.938 kB / 0.5385 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.5002, allocations: 287.7 kB / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5002, allocations: 0 / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.5002, allocations: 4.406 kB / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5002, allocations: 0 / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5002, allocations: 0.9375 kB / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5003, allocations: 1.062 kB / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5003, allocations: 0 / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.5005, allocations: 200.5 kB / 0.5389 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.5006, allocations: 106.1 kB / 0.539 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.5006, allocations: 0 / 0.539 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.5007, allocations: 2.375 kB / 0.539 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.5007, allocations: 5.328 kB / 0.539 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.5007, allocations: 3.938 kB / 0.5391 GB, free: 7.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007764/0.5015, allocations: 0.6577 MB / 0.5397 GB, free: 7.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5015, allocations: 3.938 kB / 0.5397 GB, free: 7.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.5018, allocations: 22.14 kB / 0.5397 GB, free: 7.188 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 (2): * Single equations (assignments): 2 * 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.0009467/0.5028, allocations: 339.3 kB / 0.54 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.5029, allocations: 22.14 kB / 0.5401 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5029, allocations: 0 / 0.5401 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.503, allocations: 15.2 kB / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.5034, allocations: 28.14 kB / 0.5401 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5046, allocations: 0.7841 MB / 0.5409 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.5051, allocations: 0.8257 MB / 0.5417 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.5051, allocations: 8.062 kB / 0.5417 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.5051, allocations: 10.69 kB / 0.5417 GB, free: 5.777 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5051, allocations: 0 / 0.5417 GB, free: 5.777 MB / 398.1 MB Notification: Performance of Templates: time 0.005172/0.5103, allocations: 1.252 MB / 0.5429 GB, free: 5.148 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches