Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 109.9 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 185.9 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3453, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00621/0.3516, allocations: 3.523 MB / 0.523 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.3553, allocations: 1.393 MB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008496/0.3562, allocations: 23.94 kB / 0.5244 GB, free: 64 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.3567, allocations: 116.8 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.3577, allocations: 165.4 kB / 0.5247 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.3598, allocations: 0.596 MB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.3616, allocations: 0.9353 MB / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.3621, allocations: 299.7 kB / 0.5265 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.3628, allocations: 370.2 kB / 0.5268 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.3633, allocations: 361 kB / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.3635, allocations: 69.97 kB / 0.5272 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.3636, allocations: 73.25 kB / 0.5273 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3638, allocations: 172.6 kB / 0.5275 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.3642, allocations: 366.8 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009055/0.3651, allocations: 0.8447 MB / 0.5286 GB, free: 13.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3651, allocations: 4 kB / 0.5286 GB, free: 13.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3651, allocations: 3.938 kB / 0.5286 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.3651, allocations: 0 / 0.5286 GB, free: 13.45 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.002327/0.3675, allocations: 1.215 MB / 0.5298 GB, free: 12.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3675, allocations: 8.25 kB / 0.5298 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3677, allocations: 98.48 kB / 0.5299 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000953/0.3687, allocations: 0.5931 MB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.3687, allocations: 38.91 kB / 0.5305 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.3688, allocations: 57.08 kB / 0.5306 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3703, allocations: 0.707 MB / 0.5313 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.3704, allocations: 1.562 kB / 0.5313 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.3704, allocations: 17.44 kB / 0.5313 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.3705, allocations: 15.92 kB / 0.5313 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.372, allocations: 0.5572 MB / 0.5319 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.3755, allocations: 2.277 MB / 0.5341 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3774, allocations: 0.7143 MB / 0.5348 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008676/0.3783, allocations: 324.9 kB / 0.5351 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.432e-05/0.3784, allocations: 10.22 kB / 0.5351 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.3784, allocations: 54.7 kB / 0.5352 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.494e-06/0.3784, allocations: 0 / 0.5352 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.005256/0.3837, allocations: 1.938 MB / 0.537 GB, free: 7.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3838, allocations: 186.2 kB / 0.5372 GB, free: 7.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.3847, allocations: 0.5663 MB / 0.5378 GB, free: 6.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.3848, allocations: 37.23 kB / 0.5378 GB, free: 6.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.3851, allocations: 352.9 kB / 0.5381 GB, free: 6.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.3853, allocations: 187.7 kB / 0.5383 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3855, allocations: 107.6 kB / 0.5384 GB, free: 6.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3857, allocations: 383.1 kB / 0.5388 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/0.3865, allocations: 301.9 kB / 0.5391 GB, free: 5.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/0.3875, allocations: 416 kB / 0.5395 GB, free: 5.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.3893, allocations: 0.6554 MB / 0.5401 GB, free: 5.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3893, allocations: 1.281 kB / 0.5401 GB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002077/0.3914, allocations: 0.7942 MB / 0.5409 GB, free: 4.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3914, allocations: 10.44 kB / 0.5409 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3914, allocations: 6.25 kB / 0.5409 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3914, allocations: 5.406 kB / 0.5409 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/0.3923, allocations: 196.3 kB / 0.5411 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.3923, allocations: 8.594 kB / 0.5411 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.3929, allocations: 82.14 kB / 0.5412 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.393, allocations: 18.28 kB / 0.5412 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007554/0.3938, allocations: 364.1 kB / 0.5416 GB, free: 4.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006617/0.3944, allocations: 359.6 kB / 0.5419 GB, free: 4.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/0.3957, allocations: 0.5314 MB / 0.5424 GB, free: 3.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.3957, allocations: 1.094 kB / 0.5424 GB, free: 3.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001513/0.3972, allocations: 0.6608 MB / 0.5431 GB, free: 3.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3973, allocations: 10.81 kB / 0.5431 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3973, allocations: 4 kB / 0.5431 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.3973, allocations: 8.25 kB / 0.5431 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.398, allocations: 159.8 kB / 0.5432 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.398, allocations: 15.86 kB / 0.5433 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.3985, allocations: 67.95 kB / 0.5433 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.3986, allocations: 23.98 kB / 0.5433 GB, free: 3.133 MB / 398.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.0002365/0.3988, allocations: 208.1 kB / 0.5435 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.399, allocations: 75.53 kB / 0.5436 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.3991, allocations: 79.22 kB / 0.5437 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3992, allocations: 11.92 kB / 0.5437 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3992, allocations: 0 / 0.5437 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3994, allocations: 188.6 kB / 0.5439 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.3995, allocations: 16 kB / 0.5439 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.4001, allocations: 75.91 kB / 0.544 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4002, allocations: 40.38 kB / 0.544 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002922/0.4031, allocations: 1.049 MB / 0.545 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00282/0.406, allocations: 1.344 MB / 0.5463 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009076/0.4069, allocations: 335.2 kB / 0.5467 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004827/0.4074, allocations: 395.1 kB / 0.547 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Backend: time 6.02e-07/0.4074, allocations: 0 / 0.547 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.4097, allocations: 0.7896 MB / 0.5478 GB, free: 14.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.002525/0.4122, allocations: 1.747 MB / 0.5495 GB, free: 12.72 MB / 414.1 MB Notification: Performance of Templates: time 0.02146/0.4337, allocations: 11.98 MB / 0.5612 GB, free: 0.832 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches