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.001164/0.001164, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001366/0.001366, allocations: 188 kB / 18.71 MB, free: 4.371 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.366/1.366, allocations: 222.9 MB / 242.4 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.225/0.225, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3717, allocations: 60.83 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004537/0.3763, allocations: 3.523 MB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.3795, allocations: 1.393 MB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007643/0.3803, allocations: 23.28 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.3807, allocations: 112.4 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009001/0.3817, allocations: 159.3 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.3833, allocations: 0.5941 MB / 0.5246 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.3848, allocations: 0.9371 MB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.3854, allocations: 299.5 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/0.3861, allocations: 367.5 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.3866, allocations: 364.4 kB / 0.5265 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.3867, allocations: 71.5 kB / 0.5265 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3869, allocations: 73.31 kB / 0.5266 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.387, allocations: 170.5 kB / 0.5268 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.3874, allocations: 368.2 kB / 0.5271 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009754/0.3884, allocations: 0.8422 MB / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3884, allocations: 4 kB / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3884, allocations: 0 / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.3884, allocations: 0 / 0.5279 GB, free: 13.44 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.002382/0.3908, allocations: 1.188 MB / 0.5291 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3909, allocations: 9.625 kB / 0.5291 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.391, allocations: 93.72 kB / 0.5292 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.392, allocations: 0.5812 MB / 0.5298 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.392, allocations: 38.31 kB / 0.5298 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.3921, allocations: 52.8 kB / 0.5299 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.3936, allocations: 0.7034 MB / 0.5305 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3937, allocations: 1.375 kB / 0.5305 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.3938, allocations: 25.33 kB / 0.5306 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3938, allocations: 12.72 kB / 0.5306 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.3953, allocations: 0.5612 MB / 0.5311 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.399, allocations: 2.281 MB / 0.5334 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4008, allocations: 0.7139 MB / 0.5341 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/0.4017, allocations: 328.3 kB / 0.5344 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.4018, allocations: 10.12 kB / 0.5344 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.4019, allocations: 50.61 kB / 0.5344 GB, free: 8.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.634e-06/0.4019, allocations: 0 / 0.5344 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.005107/0.407, allocations: 1.916 MB / 0.5363 GB, free: 7.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4071, allocations: 187.1 kB / 0.5365 GB, free: 7.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.408, allocations: 0.5664 MB / 0.537 GB, free: 7.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.4081, allocations: 41.42 kB / 0.5371 GB, free: 6.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.4084, allocations: 356 kB / 0.5374 GB, free: 6.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.4086, allocations: 173.8 kB / 0.5376 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.4088, allocations: 104.3 kB / 0.5377 GB, free: 6.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.409, allocations: 383.3 kB / 0.538 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008613/0.4099, allocations: 301 kB / 0.5383 GB, free: 5.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.4108, allocations: 420.2 kB / 0.5387 GB, free: 5.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.4124, allocations: 0.6527 MB / 0.5394 GB, free: 5.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4124, allocations: 1.469 kB / 0.5394 GB, free: 5.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002124/0.4146, allocations: 0.7936 MB / 0.5401 GB, free: 4.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4146, allocations: 5.656 kB / 0.5401 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4146, allocations: 2.406 kB / 0.5401 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.4147, allocations: 21.02 kB / 0.5402 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.4156, allocations: 193.4 kB / 0.5404 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.4156, allocations: 4.5 kB / 0.5404 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.4163, allocations: 77.12 kB / 0.5404 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.4164, allocations: 19.84 kB / 0.5404 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008621/0.4173, allocations: 362.5 kB / 0.5408 GB, free: 4.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000719/0.418, allocations: 364.5 kB / 0.5411 GB, free: 4.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001255/0.4193, allocations: 0.5276 MB / 0.5417 GB, free: 4.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.4193, allocations: 5.469 kB / 0.5417 GB, free: 4.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001648/0.4209, allocations: 0.6563 MB / 0.5423 GB, free: 3.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.421, allocations: 8 kB / 0.5423 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.421, allocations: 8.297 kB / 0.5423 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.421, allocations: 8 kB / 0.5423 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.4218, allocations: 159.8 kB / 0.5425 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.4218, allocations: 15.86 kB / 0.5425 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.4224, allocations: 59.95 kB / 0.5425 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.4224, allocations: 19.98 kB / 0.5426 GB, free: 3.199 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.0002599/0.4227, allocations: 212.1 kB / 0.5428 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.4229, allocations: 75.06 kB / 0.5428 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.4232, allocations: 79.28 kB / 0.5429 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.4232, allocations: 11.94 kB / 0.5429 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.4232, allocations: 0 / 0.5429 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.4232, allocations: 7.984 kB / 0.5429 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.4263, allocations: 1.445 MB / 0.5443 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4263, allocations: 0 / 0.5443 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/0.4271, allocations: 151.9 kB / 0.5445 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.4271, allocations: 4 kB / 0.5445 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.4271, allocations: 12 kB / 0.5445 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.4271, allocations: 4 kB / 0.5445 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.4272, allocations: 7.984 kB / 0.5445 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.43, allocations: 1.257 MB / 0.5457 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.4304, allocations: 188.1 kB / 0.5459 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4306, allocations: 15.98 kB / 0.5459 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.4312, allocations: 75.92 kB / 0.546 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.4313, allocations: 43.88 kB / 0.5461 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.4314, allocations: 19.98 kB / 0.5461 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005324/0.4319, allocations: 395.1 kB / 0.5465 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4319, allocations: 0 / 0.5465 GB, free: 15.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000825/0.4328, allocations: 180 kB / 0.5466 GB, free: 14.93 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.0001609/0.4329, allocations: 111.1 kB / 0.5467 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.4355, allocations: 0.989 MB / 0.5477 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4355, allocations: 0 / 0.5477 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.4364, allocations: 356.1 kB / 0.548 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4376, allocations: 210.2 kB / 0.5482 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.4413, allocations: 1.487 MB / 0.5497 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.4419, allocations: 0.9179 MB / 0.5506 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005239/0.4424, allocations: 88.8 kB / 0.5507 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.4427, allocations: 59.41 kB / 0.5507 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4427, allocations: 3.938 kB / 0.5507 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Templates: time 0.01785/0.4605, allocations: 8.998 MB / 0.5595 GB, free: 1.754 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