Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 79.88 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.5003, allocations: 62.42 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003209/0.5036, allocations: 1.671 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.5046, allocations: 0.5444 MB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.5047, allocations: 5.812 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.5053, allocations: 464.5 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.5058, allocations: 287.6 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.5061, allocations: 133.8 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.5064, allocations: 168.9 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.5065, allocations: 17.14 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.5067, allocations: 117.6 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.507, allocations: 215.2 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.5071, allocations: 4.594 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.5072, allocations: 36.78 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.5073, allocations: 83.03 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.5074, allocations: 102.9 kB / 0.5347 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.5078, allocations: 265.8 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5078, allocations: 0 / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5079, allocations: 1.281 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.5079, allocations: 0 / 0.535 GB, free: 10.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008621/0.5087, allocations: 0.6597 MB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5088, allocations: 9.875 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8e-05/0.5089, allocations: 47.67 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.5092, allocations: 302.5 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.5092, allocations: 1.406 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.5092, allocations: 6.438 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.5094, allocations: 61.45 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5094, allocations: 0 / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.5095, allocations: 5.219 kB / 0.536 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.5095, allocations: 5.719 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5096, allocations: 35.52 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.5102, allocations: 382.8 kB / 0.5365 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.5103, allocations: 47.59 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.5104, allocations: 31.77 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.5104, allocations: 5.312 kB / 0.5365 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.5105, allocations: 34.55 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5105, allocations: 1 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009778/0.5115, allocations: 301 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.5115, allocations: 52.59 kB / 0.5369 GB, free: 9.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.5126, allocations: 0.8583 MB / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.5127, allocations: 29.7 kB / 0.5378 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.5129, allocations: 208.5 kB / 0.538 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.5129, allocations: 30.52 kB / 0.538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.513, allocations: 18.25 kB / 0.538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5132, allocations: 372.8 kB / 0.5384 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.5133, allocations: 30.5 kB / 0.5384 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.5134, allocations: 30.62 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.5136, allocations: 89.02 kB / 0.5385 GB, free: 8.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5137, allocations: 4 kB / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000326/0.514, allocations: 141.1 kB / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.514, allocations: 4.469 kB / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.514, allocations: 1.219 kB / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.5141, allocations: 0 / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.5142, allocations: 22.58 kB / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5142, allocations: 1.031 kB / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.5143, allocations: 21.42 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5143, allocations: 2.25 kB / 0.5387 GB, free: 7.996 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.0002628/0.5146, allocations: 218.3 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.5147, allocations: 42.59 kB / 0.539 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.5151, allocations: 169.1 kB / 0.5391 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.5151, allocations: 4 kB / 0.5391 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.5151, allocations: 5.328 kB / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5151, allocations: 3.938 kB / 0.5391 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.5159, allocations: 494.8 kB / 0.5396 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5159, allocations: 0 / 0.5396 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.516, allocations: 22.59 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5161, allocations: 1.156 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.5161, allocations: 9.312 kB / 0.5396 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5161, allocations: 0 / 0.5396 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5161, allocations: 0 / 0.5396 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.5165, allocations: 241.2 kB / 0.5399 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.5166, allocations: 110.4 kB / 0.54 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.5166, allocations: 13.14 kB / 0.54 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5167, allocations: 9.594 kB / 0.54 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.5168, allocations: 6.234 kB / 0.54 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5168, allocations: 2.438 kB / 0.54 GB, free: 6.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007179/0.5175, allocations: 0.6479 MB / 0.5406 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5175, allocations: 0 / 0.5406 GB, free: 6.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.5178, allocations: 28.11 kB / 0.5407 GB, free: 6.625 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.0009965/0.5188, allocations: 413.9 kB / 0.541 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.5191, allocations: 83.58 kB / 0.5411 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5191, allocations: 0 / 0.5411 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.5192, allocations: 44.56 kB / 0.5412 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.5197, allocations: 34.72 kB / 0.5412 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.521, allocations: 0.8209 MB / 0.542 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.5215, allocations: 0.8254 MB / 0.5428 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.5216, allocations: 10.55 kB / 0.5428 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.5216, allocations: 17.25 kB / 0.5428 GB, free: 5.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5216, allocations: 4 kB / 0.5428 GB, free: 5.109 MB / 398.1 MB Notification: Performance of Templates: time 0.006596/0.5282, allocations: 1.581 MB / 0.5444 GB, free: 3.777 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches