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.001334/0.001334, allocations: 117.2 kB / 17.78 MB, free: 5.266 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.001573/0.001574, allocations: 184.2 kB / 18.71 MB, free: 4.344 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.492/1.492, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2297/0.2297, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4836, allocations: 60.84 MB / 0.5189 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004997/0.4886, allocations: 3.524 MB / 0.5223 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.4918, allocations: 1.386 MB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.4924, allocations: 27.06 kB / 0.5237 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.4928, allocations: 116.8 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.4934, allocations: 166 kB / 0.524 GB, free: 120 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.4951, allocations: 0.5933 MB / 0.5246 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.4963, allocations: 0.9411 MB / 0.5255 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.4968, allocations: 299.8 kB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.4974, allocations: 371.1 kB / 0.5261 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.4979, allocations: 364.4 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.498, allocations: 71.5 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.4981, allocations: 72.88 kB / 0.5266 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.4983, allocations: 169.6 kB / 0.5268 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.4986, allocations: 366.5 kB / 0.5271 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.4996, allocations: 0.843 MB / 0.5279 GB, free: 13.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4996, allocations: 0 / 0.5279 GB, free: 13.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4997, allocations: 3.938 kB / 0.528 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.4997, allocations: 0 / 0.528 GB, free: 13.68 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.002441/0.5021, allocations: 1.181 MB / 0.5291 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5022, allocations: 20.17 kB / 0.5291 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.5024, allocations: 93.03 kB / 0.5292 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009725/0.5034, allocations: 0.5814 MB / 0.5298 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.5034, allocations: 38.56 kB / 0.5298 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.967e-05/0.5035, allocations: 53.53 kB / 0.5299 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.5051, allocations: 0.7037 MB / 0.5306 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5051, allocations: 13.11 kB / 0.5306 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.5052, allocations: 17.84 kB / 0.5306 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.5052, allocations: 11.94 kB / 0.5306 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.5069, allocations: 0.5539 MB / 0.5311 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.5103, allocations: 2.284 MB / 0.5334 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.5121, allocations: 0.7181 MB / 0.5341 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008889/0.513, allocations: 324.8 kB / 0.5344 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.5131, allocations: 6.031 kB / 0.5344 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.5132, allocations: 42.38 kB / 0.5344 GB, free: 8.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.5132, allocations: 0 / 0.5344 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.005125/0.5183, allocations: 1.913 MB / 0.5363 GB, free: 7.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.5184, allocations: 194 kB / 0.5365 GB, free: 7.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.5192, allocations: 0.5711 MB / 0.537 GB, free: 7.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.5193, allocations: 36.27 kB / 0.5371 GB, free: 7.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.5196, allocations: 353.2 kB / 0.5374 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.5197, allocations: 177.8 kB / 0.5376 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.5199, allocations: 104.2 kB / 0.5377 GB, free: 6.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.5201, allocations: 383.3 kB / 0.538 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008677/0.521, allocations: 305.8 kB / 0.5383 GB, free: 6.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/0.522, allocations: 410.4 kB / 0.5387 GB, free: 5.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.5237, allocations: 0.6574 MB / 0.5394 GB, free: 5.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.5237, allocations: 5.188 kB / 0.5394 GB, free: 5.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002214/0.5259, allocations: 0.8015 MB / 0.5402 GB, free: 5.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.5259, allocations: 5.594 kB / 0.5402 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.526, allocations: 2.188 kB / 0.5402 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.526, allocations: 8.688 kB / 0.5402 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/0.5269, allocations: 193.5 kB / 0.5404 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.527, allocations: 8.547 kB / 0.5404 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.5276, allocations: 82.52 kB / 0.5404 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.5276, allocations: 22.3 kB / 0.5405 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00116/0.5288, allocations: 363.8 kB / 0.5408 GB, free: 4.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001098/0.5299, allocations: 354.5 kB / 0.5411 GB, free: 4.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001441/0.5314, allocations: 0.5445 MB / 0.5417 GB, free: 4.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.5314, allocations: 0 / 0.5417 GB, free: 4.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00165/0.533, allocations: 0.6544 MB / 0.5423 GB, free: 3.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5331, allocations: 4 kB / 0.5423 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5331, allocations: 4 kB / 0.5423 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.5331, allocations: 4 kB / 0.5423 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.5338, allocations: 172 kB / 0.5425 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5338, allocations: 7.938 kB / 0.5425 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.5344, allocations: 59.94 kB / 0.5426 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.5344, allocations: 20 kB / 0.5426 GB, free: 3.375 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.0002915/0.5347, allocations: 212.1 kB / 0.5428 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.5348, allocations: 75.06 kB / 0.5429 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.5351, allocations: 83.27 kB / 0.5429 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5351, allocations: 7.938 kB / 0.5429 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.5351, allocations: 4 kB / 0.5429 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5351, allocations: 3.984 kB / 0.5429 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.538, allocations: 1.445 MB / 0.5444 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.538, allocations: 4 kB / 0.5444 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.5388, allocations: 147.9 kB / 0.5445 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.5388, allocations: 7.938 kB / 0.5445 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.5388, allocations: 15.92 kB / 0.5445 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.5388, allocations: 4 kB / 0.5445 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5388, allocations: 0 / 0.5445 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.5417, allocations: 1.249 MB / 0.5458 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.542, allocations: 188.1 kB / 0.5459 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.5421, allocations: 12 kB / 0.5459 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.5426, allocations: 79.91 kB / 0.546 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.5428, allocations: 51.81 kB / 0.5461 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.5428, allocations: 8 kB / 0.5461 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004854/0.5433, allocations: 403.1 kB / 0.5465 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5433, allocations: 4 kB / 0.5465 GB, free: 15.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000779/0.5441, allocations: 183.9 kB / 0.5466 GB, free: 15.1 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.0001927/0.5443, allocations: 111.1 kB / 0.5467 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.547, allocations: 0.9815 MB / 0.5477 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5471, allocations: 0 / 0.5477 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.548, allocations: 355.8 kB / 0.548 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.5492, allocations: 211.4 kB / 0.5482 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.5527, allocations: 1.486 MB / 0.5497 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.5533, allocations: 0.9218 MB / 0.5506 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004526/0.5538, allocations: 88.95 kB / 0.5507 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.554, allocations: 55.42 kB / 0.5507 GB, free: 10.85 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.554, allocations: 0 / 0.5507 GB, free: 10.85 MB / 414.1 MB Notification: Performance of Templates: time 0.01914/0.5731, allocations: 8.773 MB / 0.5593 GB, free: 2.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches