Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009657/0.0009658, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008265/0.0008264, allocations: 90.27 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2735/0.2735, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002192/0.0002191, allocations: 4 kB / 468.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2517, allocations: 63.24 MB / 0.5192 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09553/0.3473, allocations: 92.81 MB / 0.6098 GB, free: 12.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.3475, allocations: 67.97 kB / 0.6099 GB, free: 12.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0452/0.3928, allocations: 15.72 MB / 0.6252 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3928, allocations: 0 / 0.6252 GB, free: 13.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.928e-05/0.3929, allocations: 20 kB / 0.6252 GB, free: 13.02 MB / 442.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.002131/0.395, allocations: 1.16 MB / 0.6264 GB, free: 11.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.395, allocations: 12.03 kB / 0.6264 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.3956, allocations: 150.8 kB / 0.6265 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3967, allocations: 0.6014 MB / 0.6271 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.3967, allocations: 37 kB / 0.6272 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.3968, allocations: 55.86 kB / 0.6272 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3981, allocations: 0.7345 MB / 0.6279 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3982, allocations: 0 / 0.6279 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.3982, allocations: 23.94 kB / 0.6279 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3982, allocations: 12 kB / 0.628 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.3996, allocations: 0.605 MB / 0.6285 GB, free: 9.488 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.4025, allocations: 2.285 MB / 0.6308 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.405, allocations: 1.061 MB / 0.6318 GB, free: 6.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.4051, allocations: 12.06 kB / 0.6318 GB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4051, allocations: 38.56 kB / 0.6319 GB, free: 5.961 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 1.783e-06/0.4051, allocations: 4 kB / 0.6319 GB, free: 5.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002464/0.4076, allocations: 1.025 MB / 0.6329 GB, free: 4.926 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4076, allocations: 136.5 kB / 0.633 GB, free: 4.762 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.4081, allocations: 0.4957 MB / 0.6335 GB, free: 4.258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.4082, allocations: 29.7 kB / 0.6335 GB, free: 4.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.4084, allocations: 356.8 kB / 0.6339 GB, free: 3.871 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4085, allocations: 161.6 kB / 0.634 GB, free: 3.711 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.4086, allocations: 12 kB / 0.634 GB, free: 3.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4087, allocations: 382.8 kB / 0.6344 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.4095, allocations: 320.9 kB / 0.6347 GB, free: 3.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/0.4103, allocations: 420.1 kB / 0.6351 GB, free: 2.555 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/0.411, allocations: 324.7 kB / 0.6354 GB, free: 2.234 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4111, allocations: 0 / 0.6354 GB, free: 2.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001709/0.4128, allocations: 0.8268 MB / 0.6362 GB, free: 1.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.413, allocations: 0.8754 MB / 0.6371 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.413, allocations: 8 kB / 0.6371 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4131, allocations: 4 kB / 0.6371 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.414, allocations: 207.7 kB / 0.6373 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.414, allocations: 11.98 kB / 0.6373 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.4146, allocations: 115.5 kB / 0.6374 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.4147, allocations: 23.98 kB / 0.6374 GB, free: 100 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.4147, allocations: 4 kB / 0.6374 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.4159, allocations: 0.5996 MB / 0.638 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4159, allocations: 4 kB / 0.638 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.4159, allocations: 7.953 kB / 0.638 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.4167, allocations: 172 kB / 0.6382 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.4167, allocations: 11.88 kB / 0.6382 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.4171, allocations: 87.58 kB / 0.6383 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.4171, allocations: 20 kB / 0.6383 GB, free: 15.2 MB / 458.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.0002528/0.4174, allocations: 270.8 kB / 0.6386 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.4175, allocations: 71.06 kB / 0.6386 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.4177, allocations: 78.97 kB / 0.6387 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4177, allocations: 12.23 kB / 0.6387 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4177, allocations: 3.938 kB / 0.6387 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.4177, allocations: 7.984 kB / 0.6387 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.42, allocations: 1.403 MB / 0.6401 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.42, allocations: 4 kB / 0.6401 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.4207, allocations: 151.8 kB / 0.6402 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4207, allocations: 4 kB / 0.6402 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.4208, allocations: 11.98 kB / 0.6403 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4208, allocations: 3.938 kB / 0.6403 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4208, allocations: 4 kB / 0.6403 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.4233, allocations: 1.309 MB / 0.6415 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.4235, allocations: 192 kB / 0.6417 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.4236, allocations: 11.98 kB / 0.6417 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.4241, allocations: 91.92 kB / 0.6418 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.4242, allocations: 43.94 kB / 0.6419 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4243, allocations: 15.98 kB / 0.6419 GB, free: 11.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003684/0.4246, allocations: 395.1 kB / 0.6423 GB, free: 11.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4247, allocations: 0 / 0.6423 GB, free: 11.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006352/0.4253, allocations: 227.2 kB / 0.6425 GB, free: 10.81 MB / 458.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.0001517/0.4255, allocations: 115.1 kB / 0.6426 GB, free: 10.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.4277, allocations: 1.045 MB / 0.6436 GB, free: 9.641 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4277, allocations: 0 / 0.6436 GB, free: 9.641 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.4285, allocations: 367.6 kB / 0.6439 GB, free: 9.281 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.4293, allocations: 176.2 kB / 0.6441 GB, free: 9.109 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.4323, allocations: 1.715 MB / 0.6458 GB, free: 7.367 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.4328, allocations: 0.9339 MB / 0.6467 GB, free: 6.402 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004174/0.4332, allocations: 101.1 kB / 0.6468 GB, free: 6.305 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.4334, allocations: 51.41 kB / 0.6469 GB, free: 6.254 MB / 458.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4334, allocations: 0 / 0.6469 GB, free: 6.254 MB / 458.7 MB Notification: Performance of Templates: time 0.0113/0.4447, allocations: 7.214 MB / 0.6539 GB, free: 15.13 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches