Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3812, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.006219/0.3874, allocations: 3.537 MB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005398/0.3929, allocations: 1.485 MB / 0.5359 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.3941, allocations: 28.31 kB / 0.5359 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.3947, allocations: 120.2 kB / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008736/0.3957, allocations: 159.2 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.3978, allocations: 0.6255 MB / 0.5368 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.3992, allocations: 0.9427 MB / 0.5377 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.3999, allocations: 299.2 kB / 0.538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008145/0.4007, allocations: 379.9 kB / 0.5384 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.4013, allocations: 365.8 kB / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.4015, allocations: 72 kB / 0.5388 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.4018, allocations: 74.56 kB / 0.5389 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.402, allocations: 173.4 kB / 0.539 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.4024, allocations: 369.9 kB / 0.5394 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.4036, allocations: 0.8393 MB / 0.5402 GB, free: 6.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4037, allocations: 0 / 0.5402 GB, free: 6.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4037, allocations: 0 / 0.5402 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.4037, allocations: 0 / 0.5402 GB, free: 6.43 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003107/0.4068, allocations: 1.214 MB / 0.5414 GB, free: 5.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4069, allocations: 10.19 kB / 0.5414 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008034/0.4077, allocations: 137.5 kB / 0.5415 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.4091, allocations: 0.6075 MB / 0.5421 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.4091, allocations: 38.22 kB / 0.5421 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4093, allocations: 58.03 kB / 0.5422 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.4115, allocations: 0.7149 MB / 0.5429 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.4115, allocations: 9.109 kB / 0.5429 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.4116, allocations: 21.41 kB / 0.5429 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.4117, allocations: 12 kB / 0.5429 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.4138, allocations: 0.5583 MB / 0.5435 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.4179, allocations: 2.266 MB / 0.5457 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.4197, allocations: 0.7182 MB / 0.5464 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008489/0.4206, allocations: 322.2 kB / 0.5467 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.4207, allocations: 20.38 kB / 0.5467 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4207, allocations: 42.94 kB / 0.5468 GB, free: 1.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 3.106e-06/0.4207, allocations: 0 / 0.5468 GB, free: 1.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.004966/0.4257, allocations: 1.926 MB / 0.5486 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.4258, allocations: 239.8 kB / 0.5489 GB, free: 14.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.4265, allocations: 0.5709 MB / 0.5494 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.4266, allocations: 37.7 kB / 0.5495 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.4269, allocations: 368.7 kB / 0.5498 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.427, allocations: 181.2 kB / 0.55 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.4272, allocations: 106.2 kB / 0.5501 GB, free: 13.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4274, allocations: 322 kB / 0.5504 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/0.4283, allocations: 302.9 kB / 0.5507 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009442/0.4293, allocations: 435.7 kB / 0.5511 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.431, allocations: 0.6551 MB / 0.5517 GB, free: 11.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.431, allocations: 0 / 0.5517 GB, free: 11.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002091/0.4331, allocations: 0.7986 MB / 0.5525 GB, free: 11.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4331, allocations: 11.94 kB / 0.5525 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4331, allocations: 3.984 kB / 0.5525 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.4332, allocations: 7.938 kB / 0.5526 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008534/0.434, allocations: 192 kB / 0.5527 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.4341, allocations: 7.938 kB / 0.5527 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.4347, allocations: 79.91 kB / 0.5528 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.4347, allocations: 20 kB / 0.5528 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008343/0.4356, allocations: 365.1 kB / 0.5532 GB, free: 10.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006666/0.4363, allocations: 361.4 kB / 0.5535 GB, free: 10.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001183/0.4375, allocations: 0.5397 MB / 0.5541 GB, free: 9.441 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.4375, allocations: 4 kB / 0.5541 GB, free: 9.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001487/0.439, allocations: 0.6551 MB / 0.5547 GB, free: 8.773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.439, allocations: 8 kB / 0.5547 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.439, allocations: 0 / 0.5547 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.439, allocations: 8 kB / 0.5547 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.4398, allocations: 163.8 kB / 0.5549 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4398, allocations: 12.19 kB / 0.5549 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.4403, allocations: 63.94 kB / 0.5549 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.4403, allocations: 20 kB / 0.555 GB, free: 8.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002585/0.4406, allocations: 212.1 kB / 0.5552 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.4408, allocations: 79 kB / 0.5552 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.441, allocations: 91.42 kB / 0.5553 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.441, allocations: 11.94 kB / 0.5553 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4411, allocations: 0 / 0.5553 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4411, allocations: 0 / 0.5553 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.4439, allocations: 1.464 MB / 0.5568 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4439, allocations: 0 / 0.5568 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.4446, allocations: 151.9 kB / 0.5569 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.4447, allocations: 4 kB / 0.5569 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.4447, allocations: 15.98 kB / 0.5569 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4447, allocations: 3.938 kB / 0.5569 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4447, allocations: 4 kB / 0.5569 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.4475, allocations: 1.253 MB / 0.5582 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.4478, allocations: 184.2 kB / 0.5583 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.4479, allocations: 12.06 kB / 0.5584 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.4485, allocations: 83.91 kB / 0.5584 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4486, allocations: 47.81 kB / 0.5585 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.4487, allocations: 16 kB / 0.5585 GB, free: 4.766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000506/0.4492, allocations: 407 kB / 0.5589 GB, free: 4.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4492, allocations: 0 / 0.5589 GB, free: 4.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007214/0.4499, allocations: 180 kB / 0.5591 GB, free: 4.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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 Backend phase and start with SimCode phase: time 0.0001414/0.4501, allocations: 111.2 kB / 0.5592 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.4528, allocations: 0.9853 MB / 0.5601 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4528, allocations: 0 / 0.5601 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.4537, allocations: 352.2 kB / 0.5605 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4547, allocations: 205.7 kB / 0.5607 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.4573, allocations: 1.314 MB / 0.5619 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.4578, allocations: 0.9258 MB / 0.5628 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004615/0.4583, allocations: 104.9 kB / 0.5629 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.4585, allocations: 51.42 kB / 0.563 GB, free: 108 kB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4585, allocations: 0 / 0.563 GB, free: 108 kB / 414.1 MB Notification: Performance of Templates: time 0.01648/0.475, allocations: 8.738 MB / 0.5715 GB, free: 7.426 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches