Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 118.8 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.001888/0.001888, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 79.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4792, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003746/0.483, allocations: 1.703 MB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.4848, allocations: 0.9955 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.4849, allocations: 3.938 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.4853, allocations: 50.03 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.4857, allocations: 98.89 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.4859, allocations: 78.91 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.4861, allocations: 98.19 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.14e-05/0.4862, allocations: 9.734 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.4863, allocations: 42.91 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.4864, allocations: 25.48 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.4864, allocations: 4.125 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.4865, allocations: 36.61 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.4866, allocations: 30.84 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.777e-05/0.4867, allocations: 43.86 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.487, allocations: 124.8 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.487, allocations: 3.938 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.487, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.487, allocations: 4 kB / 0.5343 GB, free: 11.07 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.0006843/0.4877, allocations: 432.3 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4877, allocations: 9.625 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.4878, allocations: 10.34 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.4882, allocations: 220.1 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4882, allocations: 1.75 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.4882, allocations: 9.484 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.4884, allocations: 55.25 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4884, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4884, allocations: 1.375 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4884, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.4885, allocations: 20.22 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.4887, allocations: 196.8 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.4889, allocations: 49.81 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.489, allocations: 29.03 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.489, allocations: 1.375 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.4892, allocations: 68.92 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.4892, allocations: 0 / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003169/0.4895, allocations: 96.77 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4895, allocations: 60.42 kB / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.4898, allocations: 271.3 kB / 0.5358 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4899, allocations: 30.64 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.49, allocations: 115.2 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.49, allocations: 10.38 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.4901, allocations: 18.84 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4902, allocations: 332.1 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.4903, allocations: 11.62 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.4903, allocations: 31.33 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/0.4904, allocations: 43.08 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4904, allocations: 0 / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001793/0.4906, allocations: 92.91 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4907, allocations: 5.812 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.4907, allocations: 0 / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4907, allocations: 1.25 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.4908, allocations: 13.23 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4908, allocations: 5.031 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.4908, allocations: 6.094 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4908, allocations: 2.344 kB / 0.5365 GB, free: 9.02 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.0001354/0.491, allocations: 142.8 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.491, allocations: 10.62 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.4911, allocations: 24.39 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4911, allocations: 1.125 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4911, allocations: 0 / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4911, allocations: 1.062 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.4913, allocations: 210.9 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4913, allocations: 0 / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.4914, allocations: 3.406 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.4914, allocations: 1.188 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4914, allocations: 3.938 kB / 0.5368 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4914, allocations: 1.094 kB / 0.5368 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4914, allocations: 3.984 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.4916, allocations: 112 kB / 0.537 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.4917, allocations: 104.2 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.4917, allocations: 1.125 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.4918, allocations: 1.156 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.4918, allocations: 2.344 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4918, allocations: 6.297 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.4921, allocations: 198.9 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4921, allocations: 0 / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.4923, allocations: 22.34 kB / 0.5373 GB, free: 8.281 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.001068/0.4934, allocations: 395.3 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.4936, allocations: 44.06 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4936, allocations: 3.938 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.4936, allocations: 16.91 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.4939, allocations: 45.09 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.4946, allocations: 259.3 kB / 0.538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.4949, allocations: 0.723 MB / 0.5387 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.092e-05/0.495, allocations: 15.09 kB / 0.5387 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.495, allocations: 14.16 kB / 0.5387 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.495, allocations: 0 / 0.5387 GB, free: 7.098 MB / 398.1 MB Notification: Performance of Templates: time 0.004692/0.4997, allocations: 1.547 MB / 0.5403 GB, free: 6.309 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches