Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 113.2 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.001438/0.001438, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, 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.2411/0.2411, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 75.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4725, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003189/0.4758, allocations: 1.727 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.4776, allocations: 1.028 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.4777, allocations: 3.938 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.4781, allocations: 58.14 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.4785, allocations: 98.78 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.4787, allocations: 79.92 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.4789, allocations: 100.6 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4791, allocations: 15.17 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.4792, allocations: 41.11 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.4793, allocations: 33.45 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.4793, allocations: 3.406 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4794, allocations: 48.7 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.4795, allocations: 26.48 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.4796, allocations: 44.73 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.4798, allocations: 137.4 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.4798, allocations: 0 / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4798, allocations: 4.969 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4799, allocations: 0 / 0.5344 GB, free: 11 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.0005916/0.4805, allocations: 441.1 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4805, allocations: 9.625 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.4806, allocations: 23.56 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.4809, allocations: 228.1 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4809, allocations: 1.75 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.4809, allocations: 6.875 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.4811, allocations: 54.05 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4811, allocations: 0 / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4811, allocations: 1.375 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4811, allocations: 0 / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.4812, allocations: 22.98 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.4816, allocations: 302.9 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.4818, allocations: 57.91 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.4819, allocations: 18.48 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.4819, allocations: 1.375 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.4821, allocations: 77.08 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.4821, allocations: 0 / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000594/0.4827, allocations: 180.9 kB / 0.5358 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4827, allocations: 59.33 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.483, allocations: 275.7 kB / 0.5361 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4831, allocations: 26.83 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.4831, allocations: 111.6 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.4832, allocations: 27.84 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.4832, allocations: 28.17 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4834, allocations: 328.1 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.4834, allocations: 22.83 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.4835, allocations: 34.89 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.4836, allocations: 60.12 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4836, allocations: 4 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.4839, allocations: 100.7 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4839, allocations: 5.062 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4839, allocations: 0.9688 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4839, allocations: 1.031 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.484, allocations: 16.75 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.484, allocations: 5.703 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.4841, allocations: 10.59 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.4841, allocations: 10.34 kB / 0.5369 GB, free: 8.754 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.000116/0.4842, allocations: 138.9 kB / 0.537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.4843, allocations: 15 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.4843, allocations: 21.42 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4843, allocations: 1.062 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4843, allocations: 1.094 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.4843, allocations: 3.938 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.4848, allocations: 408.3 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4848, allocations: 5.188 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.4849, allocations: 6.625 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4849, allocations: 1.125 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4849, allocations: 6.219 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4849, allocations: 4.719 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4849, allocations: 5.078 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.4851, allocations: 210.3 kB / 0.5377 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.4852, allocations: 88.45 kB / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4852, allocations: 5.594 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.4853, allocations: 10.16 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.4853, allocations: 8.078 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.4854, allocations: 3.344 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.4856, allocations: 202.2 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4856, allocations: 1.219 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.4858, allocations: 20.53 kB / 0.538 GB, free: 7.766 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.001077/0.4869, allocations: 470 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.4871, allocations: 54.22 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4871, allocations: 0 / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.4872, allocations: 38.17 kB / 0.5385 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4875, allocations: 30.17 kB / 0.5385 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.4881, allocations: 284 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.4884, allocations: 0.7177 MB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.4885, allocations: 22.11 kB / 0.5395 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.4885, allocations: 15.22 kB / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4885, allocations: 0 / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.005073/0.4936, allocations: 1.776 MB / 0.5413 GB, free: 5.637 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches