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.001352/0.001352, allocations: 179 kB / 18.09 MB, free: 3.75 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.167/1.167, allocations: 223.3 MB / 242.1 MB, free: 11.73 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.0007587/0.0007587, allocations: 105.5 kB / 293.3 MB, free: 10.79 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.2609/0.2609, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2496, allocations: 61.87 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09724/0.3469, allocations: 91.78 MB / 0.6003 GB, free: 3.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.3471, allocations: 71.95 kB / 0.6004 GB, free: 3.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04107/0.3882, allocations: 15.73 MB / 0.6158 GB, free: 3.473 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3883, allocations: 0 / 0.6158 GB, free: 3.473 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.826e-05/0.3884, allocations: 23.94 kB / 0.6158 GB, free: 3.449 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.00227/0.3906, allocations: 1.137 MB / 0.6169 GB, free: 2.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3907, allocations: 8.031 kB / 0.6169 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.3909, allocations: 99.75 kB / 0.617 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.392, allocations: 0.6296 MB / 0.6176 GB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.3921, allocations: 41.38 kB / 0.6177 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.3922, allocations: 52.28 kB / 0.6177 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3936, allocations: 0.7389 MB / 0.6184 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.3936, allocations: 3.938 kB / 0.6184 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.3937, allocations: 20 kB / 0.6185 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.3937, allocations: 16 kB / 0.6185 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.395, allocations: 0.605 MB / 0.6191 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.398, allocations: 2.289 MB / 0.6213 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.4004, allocations: 1.051 MB / 0.6223 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.4011, allocations: 349.5 kB / 0.6227 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.4012, allocations: 11.98 kB / 0.6227 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4012, allocations: 42.5 kB / 0.6227 GB, free: 12.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.645e-06/0.4012, allocations: 3.938 kB / 0.6227 GB, free: 12.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002396/0.4036, allocations: 1.027 MB / 0.6237 GB, free: 11.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.4037, allocations: 132.5 kB / 0.6239 GB, free: 10.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.4043, allocations: 0.5669 MB / 0.6244 GB, free: 10.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.4044, allocations: 45.64 kB / 0.6245 GB, free: 10.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.4046, allocations: 356.8 kB / 0.6248 GB, free: 9.906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.4048, allocations: 161.6 kB / 0.6249 GB, free: 9.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.4048, allocations: 8 kB / 0.625 GB, free: 9.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4049, allocations: 382.8 kB / 0.6253 GB, free: 9.355 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.4057, allocations: 316.9 kB / 0.6256 GB, free: 9.047 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/0.4064, allocations: 420.1 kB / 0.626 GB, free: 8.598 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.4079, allocations: 0.6949 MB / 0.6267 GB, free: 7.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4079, allocations: 0 / 0.6267 GB, free: 7.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001716/0.4096, allocations: 0.823 MB / 0.6275 GB, free: 7.047 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.4097, allocations: 166.7 kB / 0.6277 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4097, allocations: 0 / 0.6277 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4098, allocations: 4 kB / 0.6277 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.4106, allocations: 207.7 kB / 0.6279 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.4107, allocations: 8 kB / 0.6279 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.4112, allocations: 119.5 kB / 0.628 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.4113, allocations: 23.98 kB / 0.628 GB, free: 6.492 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.4113, allocations: 4 kB / 0.628 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.4125, allocations: 0.5959 MB / 0.6286 GB, free: 5.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4125, allocations: 7.984 kB / 0.6286 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.4125, allocations: 4 kB / 0.6286 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.4133, allocations: 179.9 kB / 0.6288 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4133, allocations: 4 kB / 0.6288 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.4137, allocations: 91.55 kB / 0.6289 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.4138, allocations: 16 kB / 0.6289 GB, free: 5.594 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.0003492/0.4141, allocations: 276.9 kB / 0.6291 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.4143, allocations: 67.16 kB / 0.6292 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.4145, allocations: 86.84 kB / 0.6293 GB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4145, allocations: 4 kB / 0.6293 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4145, allocations: 0 / 0.6293 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4145, allocations: 7.984 kB / 0.6293 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.417, allocations: 1.405 MB / 0.6307 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.417, allocations: 0 / 0.6307 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.4177, allocations: 151.8 kB / 0.6308 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.4177, allocations: 8 kB / 0.6308 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.4177, allocations: 15.98 kB / 0.6308 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4177, allocations: 0 / 0.6308 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4178, allocations: 4 kB / 0.6308 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.4202, allocations: 1.295 MB / 0.6321 GB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.4205, allocations: 196 kB / 0.6323 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/0.4206, allocations: 11.98 kB / 0.6323 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.4211, allocations: 103.9 kB / 0.6324 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4212, allocations: 39.88 kB / 0.6324 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.4212, allocations: 15.98 kB / 0.6325 GB, free: 1.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004385/0.4217, allocations: 395.1 kB / 0.6328 GB, free: 1.438 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4217, allocations: 0 / 0.6328 GB, free: 1.438 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006701/0.4224, allocations: 223.2 kB / 0.6331 GB, free: 1.219 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.0001525/0.4225, allocations: 119.7 kB / 0.6332 GB, free: 1.094 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.4248, allocations: 1.033 MB / 0.6342 GB, free: 64 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4248, allocations: 7.938 kB / 0.6342 GB, free: 56 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007955/0.4256, allocations: 371.8 kB / 0.6345 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.4266, allocations: 174.8 kB / 0.6347 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.4298, allocations: 1.74 MB / 0.6364 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4302, allocations: 0.9105 MB / 0.6373 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000467/0.4307, allocations: 92.89 kB / 0.6374 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.4308, allocations: 51.41 kB / 0.6374 GB, free: 12.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4309, allocations: 0 / 0.6374 GB, free: 12.66 MB / 458.7 MB Notification: Performance of Templates: time 0.01231/0.4432, allocations: 7.345 MB / 0.6446 GB, free: 5.414 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/jenkins1/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