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.001238/0.001238, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.6 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.2209/0.2209, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.393, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00517/0.3982, allocations: 3.552 MB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003329/0.4016, allocations: 1.477 MB / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006336/0.4022, allocations: 24.38 kB / 0.5366 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.4026, allocations: 112.2 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.4033, allocations: 166.1 kB / 0.5368 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.4047, allocations: 0.6281 MB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.4059, allocations: 0.9394 MB / 0.5384 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004777/0.4064, allocations: 314.9 kB / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006077/0.407, allocations: 368.3 kB / 0.539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.4074, allocations: 365.6 kB / 0.5394 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.4075, allocations: 71.84 kB / 0.5394 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4077, allocations: 78.48 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.4078, allocations: 178 kB / 0.5397 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.4082, allocations: 362 kB / 0.54 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008841/0.4091, allocations: 0.8463 MB / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4091, allocations: 0 / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4091, allocations: 1.656 kB / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4091, allocations: 0 / 0.5409 GB, free: 6.41 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.002454/0.4116, allocations: 1.202 MB / 0.542 GB, free: 5.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4116, allocations: 13.38 kB / 0.5421 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006332/0.4123, allocations: 141 kB / 0.5422 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4134, allocations: 0.6081 MB / 0.5428 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.4135, allocations: 42.53 kB / 0.5428 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4136, allocations: 49.91 kB / 0.5429 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.4153, allocations: 0.7177 MB / 0.5436 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.4154, allocations: 5.219 kB / 0.5436 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.4155, allocations: 18 kB / 0.5436 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.4155, allocations: 12.84 kB / 0.5436 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.4171, allocations: 0.5576 MB / 0.5441 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004711/0.4219, allocations: 2.278 MB / 0.5464 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.4238, allocations: 0.7108 MB / 0.5471 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.4247, allocations: 326.2 kB / 0.5474 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.419e-05/0.4248, allocations: 8.375 kB / 0.5474 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.4248, allocations: 46.88 kB / 0.5474 GB, free: 1.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 3.827e-06/0.4249, allocations: 0 / 0.5474 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.005079/0.4299, allocations: 1.93 MB / 0.5493 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/0.4302, allocations: 243.7 kB / 0.5495 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.4311, allocations: 0.5709 MB / 0.5501 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.4311, allocations: 41.64 kB / 0.5501 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.4314, allocations: 356.8 kB / 0.5505 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.4316, allocations: 189.3 kB / 0.5507 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.4319, allocations: 110.2 kB / 0.5508 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4321, allocations: 326 kB / 0.5511 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008652/0.433, allocations: 298.9 kB / 0.5514 GB, free: 13.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.434, allocations: 427.7 kB / 0.5518 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.4358, allocations: 0.659 MB / 0.5524 GB, free: 11.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4358, allocations: 0 / 0.5524 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002346/0.4381, allocations: 0.7946 MB / 0.5532 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.4382, allocations: 8 kB / 0.5532 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.4382, allocations: 0 / 0.5532 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/0.4383, allocations: 7.938 kB / 0.5532 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/0.4392, allocations: 199.9 kB / 0.5534 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.4392, allocations: 4 kB / 0.5534 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007004/0.4399, allocations: 79.97 kB / 0.5535 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.44, allocations: 31.98 kB / 0.5535 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008968/0.4409, allocations: 357.1 kB / 0.5539 GB, free: 10.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006697/0.4416, allocations: 365.3 kB / 0.5542 GB, free: 10.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001136/0.4428, allocations: 0.5437 MB / 0.5547 GB, free: 9.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.4428, allocations: 0 / 0.5547 GB, free: 9.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001565/0.4444, allocations: 0.6552 MB / 0.5554 GB, free: 8.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4444, allocations: 8 kB / 0.5554 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4444, allocations: 4 kB / 0.5554 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.4444, allocations: 4 kB / 0.5554 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.4451, allocations: 163.8 kB / 0.5555 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.4451, allocations: 11.88 kB / 0.5556 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.4457, allocations: 64.03 kB / 0.5556 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.4457, allocations: 20 kB / 0.5556 GB, free: 8.512 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.0002227/0.4459, allocations: 212.1 kB / 0.5558 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.4461, allocations: 83.05 kB / 0.5559 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.4464, allocations: 79.44 kB / 0.556 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4464, allocations: 15.94 kB / 0.556 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.4464, allocations: 0 / 0.556 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4464, allocations: 7.922 kB / 0.556 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.4493, allocations: 1.457 MB / 0.5574 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4494, allocations: 4 kB / 0.5574 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/0.4501, allocations: 147.9 kB / 0.5576 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.4501, allocations: 4 kB / 0.5576 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.4501, allocations: 11.98 kB / 0.5576 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4501, allocations: 4 kB / 0.5576 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4501, allocations: 0 / 0.5576 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.4528, allocations: 1.257 MB / 0.5588 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.4531, allocations: 188.2 kB / 0.559 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.4532, allocations: 12 kB / 0.559 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.4538, allocations: 83.91 kB / 0.5591 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.454, allocations: 43.88 kB / 0.5591 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.454, allocations: 19.98 kB / 0.5592 GB, free: 4.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005114/0.4546, allocations: 399.1 kB / 0.5595 GB, free: 4.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4546, allocations: 0 / 0.5595 GB, free: 4.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007903/0.4554, allocations: 180 kB / 0.5597 GB, free: 4.215 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.000174/0.4555, allocations: 111.2 kB / 0.5598 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.458, allocations: 0.9851 MB / 0.5608 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.458, allocations: 0 / 0.5608 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.4588, allocations: 360.1 kB / 0.5611 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4599, allocations: 203.5 kB / 0.5613 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.4627, allocations: 1.359 MB / 0.5626 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.4634, allocations: 0.9219 MB / 0.5635 GB, free: 236 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.4636, allocations: 59.41 kB / 0.5636 GB, free: 176 kB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4636, allocations: 0 / 0.5636 GB, free: 176 kB / 414.1 MB Notification: Performance of Templates: time 0.01789/0.4815, allocations: 8.917 MB / 0.5723 GB, free: 7.281 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