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.001269/0.001269, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1962/0.1962, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.89 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2869, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004259/0.2912, allocations: 3.538 MB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.2935, allocations: 1.485 MB / 0.5366 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.2937, allocations: 25.06 kB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.294, allocations: 112.3 kB / 0.5367 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.2945, allocations: 163.4 kB / 0.5369 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2956, allocations: 0.6379 MB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.2964, allocations: 0.9388 MB / 0.5384 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.2969, allocations: 306.4 kB / 0.5387 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.2973, allocations: 375.8 kB / 0.539 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.2977, allocations: 357.8 kB / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.2978, allocations: 72.19 kB / 0.5395 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.298, allocations: 79.14 kB / 0.5395 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2981, allocations: 170.4 kB / 0.5397 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.2984, allocations: 368.9 kB / 0.54 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.2991, allocations: 0.8428 MB / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2991, allocations: 1.375 kB / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2991, allocations: 4 kB / 0.5409 GB, free: 6.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.2991, allocations: 0 / 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.002078/0.3012, allocations: 1.201 MB / 0.542 GB, free: 5.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3012, allocations: 8.969 kB / 0.5421 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005261/0.3018, allocations: 133.3 kB / 0.5422 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/0.3026, allocations: 0.6167 MB / 0.5428 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.3027, allocations: 38.06 kB / 0.5428 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.3028, allocations: 53.69 kB / 0.5429 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3042, allocations: 0.7223 MB / 0.5436 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3042, allocations: 1.844 kB / 0.5436 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.3042, allocations: 21.16 kB / 0.5436 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3043, allocations: 15.67 kB / 0.5436 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.3057, allocations: 0.5579 MB / 0.5442 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.3087, allocations: 2.274 MB / 0.5464 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3104, allocations: 0.7131 MB / 0.5471 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008034/0.3113, allocations: 330.2 kB / 0.5474 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.3113, allocations: 12.44 kB / 0.5474 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3113, allocations: 42.92 kB / 0.5474 GB, free: 1.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.3114, allocations: 0 / 0.5474 GB, free: 1.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.00447/0.3158, allocations: 1.926 MB / 0.5493 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.3159, allocations: 239.8 kB / 0.5496 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.3165, allocations: 0.5825 MB / 0.5501 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.3166, allocations: 33.7 kB / 0.5502 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.3168, allocations: 360.7 kB / 0.5505 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.317, allocations: 181.3 kB / 0.5507 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.3171, allocations: 110.2 kB / 0.5508 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3173, allocations: 329.9 kB / 0.5511 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/0.3181, allocations: 294.9 kB / 0.5514 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/0.319, allocations: 435.7 kB / 0.5518 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.3206, allocations: 0.6552 MB / 0.5524 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3206, allocations: 0 / 0.5524 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001858/0.3224, allocations: 0.7947 MB / 0.5532 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3225, allocations: 4 kB / 0.5532 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3225, allocations: 4 kB / 0.5532 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3225, allocations: 4 kB / 0.5532 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/0.3233, allocations: 195.9 kB / 0.5534 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3234, allocations: 12.05 kB / 0.5534 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.3239, allocations: 87.91 kB / 0.5535 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.324, allocations: 23.98 kB / 0.5535 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007004/0.3247, allocations: 361.1 kB / 0.5539 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006458/0.3253, allocations: 361.3 kB / 0.5542 GB, free: 10.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/0.3264, allocations: 0.5397 MB / 0.5547 GB, free: 9.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.3264, allocations: 4 kB / 0.5547 GB, free: 9.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001328/0.3278, allocations: 0.659 MB / 0.5554 GB, free: 8.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.3278, allocations: 8 kB / 0.5554 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.3278, allocations: 0 / 0.5554 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.3278, allocations: 8 kB / 0.5554 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.3285, allocations: 164 kB / 0.5556 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3285, allocations: 7.938 kB / 0.5556 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.3289, allocations: 59.94 kB / 0.5556 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.329, allocations: 23.98 kB / 0.5556 GB, free: 8.547 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.0001636/0.3292, allocations: 216.1 kB / 0.5558 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3293, allocations: 79.06 kB / 0.5559 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.3295, allocations: 79.44 kB / 0.556 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3295, allocations: 7.922 kB / 0.556 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3295, allocations: 4 kB / 0.556 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.3297, allocations: 188.1 kB / 0.5562 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.3298, allocations: 15.94 kB / 0.5562 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.3304, allocations: 79.91 kB / 0.5563 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3305, allocations: 44.38 kB / 0.5563 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00273/0.3332, allocations: 1.041 MB / 0.5573 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002645/0.3359, allocations: 1.34 MB / 0.5587 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007966/0.3367, allocations: 339.2 kB / 0.559 GB, free: 5.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.3371, allocations: 411 kB / 0.5594 GB, free: 4.676 MB / 414.1 MB Notification: Performance of Backend: time 7.02e-07/0.3371, allocations: 0 / 0.5594 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.3392, allocations: 0.7956 MB / 0.5601 GB, free: 3.883 MB / 414.1 MB Notification: Performance of SimCode: time 0.002111/0.3413, allocations: 1.701 MB / 0.5618 GB, free: 2.141 MB / 414.1 MB Notification: Performance of Templates: time 0.01824/0.3596, allocations: 11.98 MB / 0.5735 GB, free: 6.219 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