Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 113.6 kB / 17.78 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.001534/0.001535, allocations: 204.7 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.505/1.505, 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.2507/0.2507, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 83.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5673, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004142/0.5715, allocations: 1.736 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.5735, allocations: 1.037 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.5737, allocations: 1.219 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.5741, allocations: 37.64 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.5745, allocations: 102.3 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.5747, allocations: 82.66 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.5749, allocations: 99.16 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.5751, allocations: 14.8 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.5752, allocations: 53.36 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.5753, allocations: 41.44 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.5754, allocations: 9.562 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.5756, allocations: 112 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.5758, allocations: 28.81 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.5758, allocations: 36.45 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.5762, allocations: 181.3 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5762, allocations: 1.375 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5763, allocations: 0 / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.5763, allocations: 0 / 0.5345 GB, free: 10.95 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.0009572/0.5772, allocations: 431.5 kB / 0.535 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.5773, allocations: 9.625 kB / 0.535 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.5774, allocations: 13 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.578, allocations: 226.2 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.578, allocations: 1.75 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.578, allocations: 6.875 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.5783, allocations: 70.52 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5783, allocations: 0 / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.5783, allocations: 1.375 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5783, allocations: 0 / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.5784, allocations: 18.98 kB / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.5791, allocations: 284.1 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.5793, allocations: 67.42 kB / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.5794, allocations: 25.34 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.5795, allocations: 1.375 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.5797, allocations: 74.61 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.5797, allocations: 0 / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008122/0.5805, allocations: 212.6 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.5806, allocations: 79.33 kB / 0.536 GB, free: 9.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.5808, allocations: 160.6 kB / 0.5362 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.5809, allocations: 30.89 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.5809, allocations: 100.3 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.581, allocations: 39.98 kB / 0.5363 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.5811, allocations: 23.31 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5812, allocations: 326 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.5813, allocations: 27.83 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.401e-05/0.5814, allocations: 53.64 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.5816, allocations: 80.77 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5816, allocations: 0 / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000262/0.5819, allocations: 123.2 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5819, allocations: 9.188 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5819, allocations: 1.031 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.582, allocations: 1.125 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5821, allocations: 21.36 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5821, allocations: 1.125 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.5822, allocations: 6.219 kB / 0.537 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.5822, allocations: 11.34 kB / 0.537 GB, free: 8.676 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 (13): * Single equations (assignments): 13 * 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.0001394/0.5823, allocations: 128.7 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.5824, allocations: 13.38 kB / 0.5371 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.5824, allocations: 13.44 kB / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5824, allocations: 0.9375 kB / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5824, allocations: 0 / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.5825, allocations: 9.047 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.5831, allocations: 425.8 kB / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5831, allocations: 0.875 kB / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.5831, allocations: 25.55 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5831, allocations: 1.156 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5832, allocations: 1.719 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.5832, allocations: 1.156 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5832, allocations: 8.891 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.5835, allocations: 216.3 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.5836, allocations: 87.38 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.5836, allocations: 6.891 kB / 0.5379 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.5837, allocations: 5.594 kB / 0.5379 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.5837, allocations: 8.516 kB / 0.5379 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5838, allocations: 3.688 kB / 0.5379 GB, free: 7.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.5839, allocations: 127.8 kB / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5839, allocations: 0 / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.5843, allocations: 57.22 kB / 0.5381 GB, free: 7.684 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 (10): * Single equations (assignments): 8 * 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.001546/0.5859, allocations: 0.5483 MB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.5862, allocations: 81.12 kB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5862, allocations: 4.062 kB / 0.5387 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.5863, allocations: 33.89 kB / 0.5387 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.5867, allocations: 39.22 kB / 0.5388 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.5873, allocations: 218.4 kB / 0.539 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.5878, allocations: 0.7047 MB / 0.5396 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.048e-05/0.5879, allocations: 25.94 kB / 0.5397 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.5879, allocations: 22.8 kB / 0.5397 GB, free: 6.41 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5879, allocations: 0 / 0.5397 GB, free: 6.41 MB / 398.1 MB Notification: Performance of Templates: time 0.006937/0.5949, allocations: 2.518 MB / 0.5422 GB, free: 5.117 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches