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.001512/0.001512, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 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.2106/0.2106, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2959, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00449/0.3004, allocations: 3.548 MB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.3031, allocations: 1.481 MB / 0.5366 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.3034, allocations: 24.38 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.3037, allocations: 112.2 kB / 0.5367 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.3042, allocations: 156.4 kB / 0.5368 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3055, allocations: 0.6264 MB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009668/0.3064, allocations: 0.94 MB / 0.5384 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.3069, allocations: 302.6 kB / 0.5387 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.3074, allocations: 371.9 kB / 0.539 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.3078, allocations: 365.7 kB / 0.5394 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.308, allocations: 72.19 kB / 0.5394 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3081, allocations: 78.38 kB / 0.5395 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3082, allocations: 181.6 kB / 0.5397 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.3086, allocations: 362.3 kB / 0.54 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007422/0.3093, allocations: 0.8461 MB / 0.5409 GB, free: 6.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3094, allocations: 0 / 0.5409 GB, free: 6.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3094, allocations: 1.031 kB / 0.5409 GB, free: 6.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.3094, allocations: 0 / 0.5409 GB, free: 6.422 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.00225/0.3117, allocations: 1.202 MB / 0.542 GB, free: 5.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3117, allocations: 13.64 kB / 0.542 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.3123, allocations: 137.7 kB / 0.5422 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008941/0.3132, allocations: 0.6035 MB / 0.5428 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.3133, allocations: 46.42 kB / 0.5428 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.3134, allocations: 54.34 kB / 0.5429 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.3149, allocations: 0.722 MB / 0.5436 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3149, allocations: 1.062 kB / 0.5436 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.315, allocations: 22.12 kB / 0.5436 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.3151, allocations: 13.16 kB / 0.5436 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.3166, allocations: 0.5564 MB / 0.5441 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.3199, allocations: 2.275 MB / 0.5464 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3218, allocations: 0.7125 MB / 0.5471 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.3226, allocations: 326.2 kB / 0.5474 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.163e-05/0.3227, allocations: 8.375 kB / 0.5474 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3227, allocations: 42.88 kB / 0.5474 GB, free: 1.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/0.3228, allocations: 4 kB / 0.5474 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.004819/0.3276, allocations: 1.926 MB / 0.5493 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3277, allocations: 243.7 kB / 0.5495 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.3283, allocations: 0.5748 MB / 0.5501 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.3284, allocations: 41.64 kB / 0.5501 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3286, allocations: 352.8 kB / 0.5505 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3288, allocations: 181.2 kB / 0.5506 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.329, allocations: 110.2 kB / 0.5507 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3291, allocations: 330 kB / 0.5511 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008642/0.33, allocations: 302.8 kB / 0.5514 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.331, allocations: 427.7 kB / 0.5518 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.3327, allocations: 0.6631 MB / 0.5524 GB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3327, allocations: 0 / 0.5524 GB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001997/0.3347, allocations: 0.7948 MB / 0.5532 GB, free: 11.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3348, allocations: 8 kB / 0.5532 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3348, allocations: 0 / 0.5532 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3348, allocations: 11.94 kB / 0.5532 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/0.3357, allocations: 187.7 kB / 0.5534 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3357, allocations: 8.031 kB / 0.5534 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.3363, allocations: 79.91 kB / 0.5535 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.3364, allocations: 19.98 kB / 0.5535 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007396/0.3371, allocations: 365.2 kB / 0.5538 GB, free: 10.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007046/0.3379, allocations: 373.3 kB / 0.5542 GB, free: 10.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001217/0.3391, allocations: 0.5359 MB / 0.5547 GB, free: 9.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.3391, allocations: 4 kB / 0.5547 GB, free: 9.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001515/0.3406, allocations: 0.6511 MB / 0.5554 GB, free: 8.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3406, allocations: 8 kB / 0.5554 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3407, allocations: 8.312 kB / 0.5554 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3407, allocations: 7.984 kB / 0.5554 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.3414, allocations: 159.8 kB / 0.5555 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3414, allocations: 11.88 kB / 0.5555 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.3419, allocations: 63.94 kB / 0.5556 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.342, allocations: 20 kB / 0.5556 GB, free: 8.535 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.0002093/0.3422, allocations: 220.1 kB / 0.5558 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.3423, allocations: 75.06 kB / 0.5559 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.3425, allocations: 83.44 kB / 0.556 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3425, allocations: 7.938 kB / 0.556 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3426, allocations: 0 / 0.556 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3426, allocations: 11.92 kB / 0.556 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.3455, allocations: 1.46 MB / 0.5574 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3455, allocations: 4 kB / 0.5574 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.3463, allocations: 147.9 kB / 0.5576 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.3463, allocations: 4 kB / 0.5576 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.3463, allocations: 11.98 kB / 0.5576 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3463, allocations: 4 kB / 0.5576 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3464, allocations: 0 / 0.5576 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.3492, allocations: 1.257 MB / 0.5588 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.3495, allocations: 184.2 kB / 0.559 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.3496, allocations: 12 kB / 0.559 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.3502, allocations: 83.91 kB / 0.5591 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3504, allocations: 47.97 kB / 0.5591 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/0.3504, allocations: 19.91 kB / 0.5591 GB, free: 4.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.3509, allocations: 403.1 kB / 0.5595 GB, free: 4.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3509, allocations: 0 / 0.5595 GB, free: 4.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.3516, allocations: 180 kB / 0.5597 GB, free: 4.23 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.000131/0.3518, allocations: 111.2 kB / 0.5598 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.3543, allocations: 0.989 MB / 0.5608 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3543, allocations: 0 / 0.5608 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009267/0.3552, allocations: 352.2 kB / 0.5611 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3564, allocations: 207.3 kB / 0.5613 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.3589, allocations: 1.355 MB / 0.5626 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.3594, allocations: 0.9218 MB / 0.5635 GB, free: 256 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.3597, allocations: 63.41 kB / 0.5636 GB, free: 192 kB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3597, allocations: 0 / 0.5636 GB, free: 192 kB / 414.1 MB Notification: Performance of Templates: time 0.0133/0.373, allocations: 8.912 MB / 0.5723 GB, free: 7.301 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches