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.001102/0.001102, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 79.86 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3595, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004541/0.364, allocations: 3.541 MB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3667, allocations: 1.481 MB / 0.5366 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.3671, allocations: 27.72 kB / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.3674, allocations: 112 kB / 0.5367 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.3678, allocations: 153.3 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.369, allocations: 0.6416 MB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.37, allocations: 0.9402 MB / 0.5384 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.3705, allocations: 298 kB / 0.5387 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.371, allocations: 375.6 kB / 0.539 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.3714, allocations: 361.7 kB / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3715, allocations: 72.19 kB / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3717, allocations: 78.66 kB / 0.5395 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3718, allocations: 174 kB / 0.5397 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.3721, allocations: 365.6 kB / 0.54 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007523/0.3728, allocations: 0.8432 MB / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3728, allocations: 4 kB / 0.5409 GB, free: 6.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3728, allocations: 0 / 0.5409 GB, free: 6.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3729, allocations: 1.281 kB / 0.5409 GB, free: 6.449 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.002059/0.3749, allocations: 1.209 MB / 0.542 GB, free: 5.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.375, allocations: 10.16 kB / 0.5421 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000528/0.3755, allocations: 132.9 kB / 0.5422 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.3764, allocations: 0.6042 MB / 0.5428 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.3765, allocations: 38.22 kB / 0.5428 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.732e-05/0.3766, allocations: 57.5 kB / 0.5429 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.378, allocations: 0.7188 MB / 0.5436 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.378, allocations: 5.062 kB / 0.5436 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.3781, allocations: 21.22 kB / 0.5436 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.3781, allocations: 12.34 kB / 0.5436 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.3795, allocations: 0.5545 MB / 0.5441 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.3826, allocations: 2.277 MB / 0.5464 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.3842, allocations: 0.7134 MB / 0.5471 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.385, allocations: 330.2 kB / 0.5474 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.385, allocations: 16.42 kB / 0.5474 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.385, allocations: 38.94 kB / 0.5474 GB, free: 1.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.3851, allocations: 0 / 0.5474 GB, free: 1.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.004208/0.3893, allocations: 1.93 MB / 0.5493 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3894, allocations: 235.8 kB / 0.5495 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.39, allocations: 0.5825 MB / 0.5501 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.39, allocations: 33.7 kB / 0.5501 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.3903, allocations: 364.7 kB / 0.5505 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3904, allocations: 181.3 kB / 0.5507 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3906, allocations: 102.2 kB / 0.5508 GB, free: 13.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3907, allocations: 330 kB / 0.5511 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.3914, allocations: 298.9 kB / 0.5514 GB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008145/0.3922, allocations: 435.6 kB / 0.5518 GB, free: 12.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.3936, allocations: 0.6552 MB / 0.5524 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3937, allocations: 0 / 0.5524 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001694/0.3954, allocations: 0.7946 MB / 0.5532 GB, free: 11.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3954, allocations: 6.344 kB / 0.5532 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3954, allocations: 4 kB / 0.5532 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3954, allocations: 4.25 kB / 0.5532 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.3962, allocations: 199.6 kB / 0.5534 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3963, allocations: 8 kB / 0.5534 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.3968, allocations: 75.92 kB / 0.5535 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.3968, allocations: 24.05 kB / 0.5535 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006587/0.3975, allocations: 369.1 kB / 0.5538 GB, free: 10.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006042/0.3981, allocations: 365.3 kB / 0.5542 GB, free: 10.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00104/0.3991, allocations: 0.532 MB / 0.5547 GB, free: 9.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.3991, allocations: 0 / 0.5547 GB, free: 9.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001266/0.4004, allocations: 0.6669 MB / 0.5554 GB, free: 8.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.4004, allocations: 8 kB / 0.5554 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4004, allocations: 3.984 kB / 0.5554 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.4005, allocations: 8 kB / 0.5554 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.4011, allocations: 160.1 kB / 0.5555 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4011, allocations: 19.84 kB / 0.5556 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.4016, allocations: 59.95 kB / 0.5556 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.4016, allocations: 23.98 kB / 0.5556 GB, free: 8.559 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.0001732/0.4018, allocations: 216.1 kB / 0.5558 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4019, allocations: 75.06 kB / 0.5559 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.4021, allocations: 83.44 kB / 0.556 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4021, allocations: 7.922 kB / 0.556 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4021, allocations: 0 / 0.556 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.4023, allocations: 192.1 kB / 0.5562 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.4024, allocations: 11.94 kB / 0.5562 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.4029, allocations: 79.91 kB / 0.5563 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4031, allocations: 40.38 kB / 0.5563 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002568/0.4056, allocations: 1.049 MB / 0.5573 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002418/0.4081, allocations: 1.34 MB / 0.5586 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007328/0.4088, allocations: 339.2 kB / 0.559 GB, free: 5.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.4093, allocations: 411 kB / 0.5594 GB, free: 4.688 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.4093, allocations: 0 / 0.5594 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.4112, allocations: 0.7896 MB / 0.5601 GB, free: 3.898 MB / 414.1 MB Notification: Performance of SimCode: time 0.002072/0.4133, allocations: 1.708 MB / 0.5618 GB, free: 2.152 MB / 414.1 MB Notification: Performance of Templates: time 0.01813/0.4315, allocations: 12.34 MB / 0.5739 GB, free: 5.871 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