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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.000979/0.0009791, allocations: 177.7 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009864, allocations: 99.36 kB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3465/0.3465, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 12 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3186, allocations: 61.89 MB / 0.5096 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.436, allocations: 91.76 MB / 0.5992 GB, free: 3.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4363, allocations: 67.91 kB / 0.5992 GB, free: 3.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04404/0.4803, allocations: 15.73 MB / 0.6146 GB, free: 3.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4803, allocations: 0 / 0.6146 GB, free: 3.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.779e-05/0.4804, allocations: 27.92 kB / 0.6146 GB, free: 3.504 MB / 426.7 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.002055/0.4825, allocations: 1.146 MB / 0.6157 GB, free: 2.309 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4825, allocations: 12.03 kB / 0.6157 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4827, allocations: 102.8 kB / 0.6158 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4838, allocations: 0.5976 MB / 0.6164 GB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.4838, allocations: 41 kB / 0.6165 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.4839, allocations: 55.91 kB / 0.6165 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4852, allocations: 0.7306 MB / 0.6172 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.4852, allocations: 0 / 0.6172 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.4853, allocations: 20 kB / 0.6172 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4853, allocations: 23.88 kB / 0.6173 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.4866, allocations: 0.605 MB / 0.6179 GB, free: 28 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.4894, allocations: 2.282 MB / 0.6201 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.4918, allocations: 1.062 MB / 0.6211 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.4919, allocations: 8.062 kB / 0.6211 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4919, allocations: 50.48 kB / 0.6212 GB, free: 12.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.635e-06/0.4919, allocations: 0 / 0.6212 GB, free: 12.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002359/0.4943, allocations: 1.033 MB / 0.6222 GB, free: 11.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4944, allocations: 136.5 kB / 0.6223 GB, free: 11.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.4949, allocations: 0.4918 MB / 0.6228 GB, free: 10.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.4949, allocations: 33.7 kB / 0.6228 GB, free: 10.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.4952, allocations: 348.8 kB / 0.6232 GB, free: 10.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4953, allocations: 169.5 kB / 0.6233 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.4953, allocations: 16 kB / 0.6233 GB, free: 10.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4955, allocations: 378.8 kB / 0.6237 GB, free: 9.844 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/0.4962, allocations: 316.9 kB / 0.624 GB, free: 9.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.497, allocations: 416.1 kB / 0.6244 GB, free: 9.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.4977, allocations: 328.6 kB / 0.6247 GB, free: 8.773 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4977, allocations: 7.953 kB / 0.6247 GB, free: 8.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001668/0.4994, allocations: 0.823 MB / 0.6255 GB, free: 7.934 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.4997, allocations: 0.8728 MB / 0.6264 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4997, allocations: 4 kB / 0.6264 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4997, allocations: 8 kB / 0.6264 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.5006, allocations: 203.7 kB / 0.6266 GB, free: 6.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5007, allocations: 7.984 kB / 0.6266 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.5012, allocations: 123.5 kB / 0.6267 GB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.5013, allocations: 20 kB / 0.6267 GB, free: 6.637 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.5013, allocations: 8 kB / 0.6267 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/0.5024, allocations: 0.5879 MB / 0.6273 GB, free: 6.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5024, allocations: 4 kB / 0.6273 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.5025, allocations: 4 kB / 0.6273 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.5032, allocations: 176 kB / 0.6275 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5032, allocations: 4 kB / 0.6275 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.5036, allocations: 83.64 kB / 0.6276 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.5037, allocations: 23.98 kB / 0.6276 GB, free: 5.75 MB / 442.7 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 (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.504, allocations: 269.4 kB / 0.6278 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.5041, allocations: 75.06 kB / 0.6279 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.5042, allocations: 86.95 kB / 0.628 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5043, allocations: 7.938 kB / 0.628 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5043, allocations: 0 / 0.628 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5043, allocations: 0 / 0.628 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.5066, allocations: 1.401 MB / 0.6294 GB, free: 3.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5066, allocations: 3.938 kB / 0.6294 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.5073, allocations: 159.8 kB / 0.6295 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5073, allocations: 4 kB / 0.6295 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.992e-05/0.5073, allocations: 15.98 kB / 0.6296 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5073, allocations: 11.95 kB / 0.6296 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5073, allocations: 0 / 0.6296 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.5098, allocations: 1.305 MB / 0.6308 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.51, allocations: 192.1 kB / 0.631 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.5101, allocations: 15.95 kB / 0.631 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.5106, allocations: 91.92 kB / 0.6311 GB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5107, allocations: 47.92 kB / 0.6312 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.5108, allocations: 8 kB / 0.6312 GB, free: 1.957 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004256/0.5112, allocations: 395.1 kB / 0.6316 GB, free: 1.578 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5112, allocations: 0 / 0.6316 GB, free: 1.578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000672/0.5119, allocations: 227.1 kB / 0.6318 GB, free: 1.355 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.512, allocations: 115.3 kB / 0.6319 GB, free: 1.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.5144, allocations: 1.04 MB / 0.6329 GB, free: 200 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5144, allocations: 0 / 0.6329 GB, free: 200 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.5152, allocations: 376 kB / 0.6333 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.516, allocations: 173.7 kB / 0.6334 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.5194, allocations: 1.725 MB / 0.6351 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.5199, allocations: 0.93 MB / 0.636 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.5204, allocations: 93.02 kB / 0.6361 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.5206, allocations: 55.41 kB / 0.6362 GB, free: 12.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5206, allocations: 0 / 0.6362 GB, free: 12.8 MB / 458.7 MB Notification: Performance of Templates: time 0.01295/0.5335, allocations: 7.24 MB / 0.6432 GB, free: 5.656 MB / 458.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches