Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 199.9 kB / 18.73 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.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 75.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4915, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004527/0.4961, allocations: 1.732 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.4986, allocations: 1.024 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.4987, allocations: 1.375 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.4991, allocations: 78.08 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.4996, allocations: 118.6 kB / 0.534 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.5001, allocations: 74.53 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.5003, allocations: 120.9 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.5004, allocations: 11.25 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.5005, allocations: 52.52 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.5007, allocations: 64.75 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.5007, allocations: 3.25 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.5008, allocations: 44.08 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.5009, allocations: 23.66 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.501, allocations: 36.7 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.5012, allocations: 128.4 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5013, allocations: 5.094 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5013, allocations: 0 / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5013, allocations: 0 / 0.5345 GB, free: 10.99 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006037/0.5019, allocations: 426.8 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5019, allocations: 14.06 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.502, allocations: 18.41 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.5023, allocations: 213.2 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5023, allocations: 5.531 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.5023, allocations: 10.25 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.5025, allocations: 57.8 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5025, allocations: 1.125 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5025, allocations: 3.984 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5026, allocations: 1.094 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.5026, allocations: 18.52 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.5031, allocations: 288.8 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.5033, allocations: 66.28 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.5033, allocations: 16.55 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5034, allocations: 2.156 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.5035, allocations: 68.58 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5035, allocations: 0 / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000551/0.5041, allocations: 188.1 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.5041, allocations: 51.41 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.5044, allocations: 226 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5044, allocations: 26.8 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.5045, allocations: 106.9 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.5045, allocations: 27.47 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.5046, allocations: 24.45 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5047, allocations: 330.8 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.5049, allocations: 26.7 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.5049, allocations: 39.64 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.505, allocations: 50.66 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5051, allocations: 1.469 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000188/0.5052, allocations: 106.9 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5053, allocations: 6.594 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5053, allocations: 4.031 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.5053, allocations: 1.219 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.5054, allocations: 16.55 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5054, allocations: 1 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.5055, allocations: 10.16 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.5055, allocations: 3.312 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001199/0.5056, allocations: 132.8 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.5057, allocations: 13.62 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.5057, allocations: 19.78 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5057, allocations: 5.062 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5057, allocations: 1.125 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.5057, allocations: 7.922 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.5062, allocations: 396.3 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5062, allocations: 1.469 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.5063, allocations: 7.031 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5063, allocations: 5.172 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.5063, allocations: 9.094 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.5063, allocations: 1.031 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5063, allocations: 1.094 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.5065, allocations: 205.1 kB / 0.5376 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.5066, allocations: 84.94 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.5067, allocations: 5.781 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.5068, allocations: 9.328 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.5068, allocations: 7.625 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.5068, allocations: 8.188 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.507, allocations: 168.8 kB / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.507, allocations: 0 / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.5073, allocations: 20.28 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001066/0.5083, allocations: 464.7 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.5085, allocations: 61.58 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5086, allocations: 4 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.5086, allocations: 25.61 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.509, allocations: 34 kB / 0.5385 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.5096, allocations: 260.1 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.5101, allocations: 0.7074 MB / 0.5394 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.086e-05/0.5101, allocations: 19.2 kB / 0.5394 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.5102, allocations: 15.53 kB / 0.5394 GB, free: 6.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5102, allocations: 4 kB / 0.5394 GB, free: 6.586 MB / 398.1 MB Notification: Performance of Templates: time 0.006556/0.5167, allocations: 1.749 MB / 0.5411 GB, free: 5.703 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches