Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 198 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.457/1.457, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2353/0.2353, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 75.88 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4776, allocations: 62.44 MB / 0.5311 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003386/0.4811, allocations: 1.69 MB / 0.5327 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.4829, allocations: 1.003 MB / 0.5337 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.483, allocations: 0 / 0.5337 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.4834, allocations: 51 kB / 0.5337 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.4838, allocations: 101.8 kB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.484, allocations: 73.56 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.4842, allocations: 103.5 kB / 0.534 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.4843, allocations: 4.359 kB / 0.534 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.4844, allocations: 44.28 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/0.4845, allocations: 29.42 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.4845, allocations: 2.75 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.942e-05/0.4846, allocations: 32.61 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.4847, allocations: 34.84 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.4848, allocations: 39.92 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.485, allocations: 121.6 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.485, allocations: 4 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.485, allocations: 0 / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.485, allocations: 0 / 0.5343 GB, free: 11.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006805/0.4857, allocations: 442.6 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4858, allocations: 12.89 kB / 0.5347 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.4859, allocations: 11.61 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.4862, allocations: 227.2 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4862, allocations: 1.656 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.4862, allocations: 10.28 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.4864, allocations: 47.3 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4864, allocations: 0 / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4864, allocations: 0 / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4864, allocations: 5.156 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.4865, allocations: 16.59 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.4868, allocations: 191.9 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4869, allocations: 58.23 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.487, allocations: 21.2 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.487, allocations: 1 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.4872, allocations: 64.8 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.4872, allocations: 0 / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003311/0.4876, allocations: 104.7 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4876, allocations: 56.5 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.4879, allocations: 271.5 kB / 0.5358 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.488, allocations: 26.73 kB / 0.5358 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.4881, allocations: 114.9 kB / 0.5359 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.4881, allocations: 18.17 kB / 0.5359 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.4881, allocations: 23.33 kB / 0.536 GB, free: 9.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4883, allocations: 327.5 kB / 0.5363 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.4883, allocations: 19.36 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.4884, allocations: 28.12 kB / 0.5363 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.786e-05/0.4885, allocations: 46.8 kB / 0.5364 GB, free: 9.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4885, allocations: 1.125 kB / 0.5364 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001668/0.4887, allocations: 88.38 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4887, allocations: 5.469 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.4887, allocations: 1.031 kB / 0.5365 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4888, allocations: 5.188 kB / 0.5365 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.4888, allocations: 12.48 kB / 0.5365 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4889, allocations: 1.5 kB / 0.5365 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.4889, allocations: 9.141 kB / 0.5365 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4889, allocations: 2.688 kB / 0.5365 GB, free: 9.227 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 (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.0001247/0.4891, allocations: 138.2 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4891, allocations: 14.59 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.4891, allocations: 20.61 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4892, allocations: 5.344 kB / 0.5367 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4892, allocations: 0 / 0.5367 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4892, allocations: 0 / 0.5367 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.4894, allocations: 199.6 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4894, allocations: 0 / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.4894, allocations: 7.469 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4894, allocations: 5.078 kB / 0.5369 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.4894, allocations: 1.312 kB / 0.5369 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4894, allocations: 3.938 kB / 0.5369 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.4894, allocations: 3.984 kB / 0.5369 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.4896, allocations: 123.9 kB / 0.537 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.4897, allocations: 91.92 kB / 0.5371 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.4898, allocations: 1.062 kB / 0.5371 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.4898, allocations: 6.25 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.4898, allocations: 6.047 kB / 0.5371 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.4899, allocations: 2.156 kB / 0.5371 GB, free: 8.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.4901, allocations: 198.9 kB / 0.5373 GB, free: 8.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4901, allocations: 0 / 0.5373 GB, free: 8.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.4903, allocations: 25.61 kB / 0.5373 GB, free: 8.484 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00104/0.4914, allocations: 401.7 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4915, allocations: 44.08 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4916, allocations: 0 / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.4916, allocations: 19.8 kB / 0.5377 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4919, allocations: 37.62 kB / 0.5378 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.4925, allocations: 267 kB / 0.538 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4929, allocations: 0.7151 MB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.493, allocations: 16.55 kB / 0.5387 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.493, allocations: 17.08 kB / 0.5388 GB, free: 7.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.493, allocations: 0 / 0.5388 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Templates: time 0.005667/0.4987, allocations: 1.541 MB / 0.5403 GB, free: 6.516 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches