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.001066/0.001066, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007841/0.0007842, allocations: 97.08 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 45.14 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.431e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09463, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4493, allocations: 92.07 MB / 0.5943 GB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001676/0.4495, allocations: 65.97 kB / 0.5943 GB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04165/0.4911, allocations: 15.57 MB / 0.6095 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4912, allocations: 3.938 kB / 0.6095 GB, free: 13.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.163e-05/0.4912, allocations: 20 kB / 0.6096 GB, free: 13.49 MB / 410.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.001752/0.493, allocations: 1.035 MB / 0.6106 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.493, allocations: 8.031 kB / 0.6106 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005069/0.4936, allocations: 154.8 kB / 0.6107 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.4946, allocations: 0.5997 MB / 0.6113 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.4946, allocations: 16 kB / 0.6113 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.4947, allocations: 40.98 kB / 0.6114 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006322/0.4954, allocations: 333 kB / 0.6117 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.4961, allocations: 0.5078 MB / 0.6122 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4961, allocations: 3.938 kB / 0.6122 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.4962, allocations: 0 / 0.6122 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.4962, allocations: 12 kB / 0.6122 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.4989, allocations: 2.196 MB / 0.6143 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.5003, allocations: 0.6921 MB / 0.615 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.5005, allocations: 192.5 kB / 0.6152 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.5006, allocations: 7.984 kB / 0.6152 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5006, allocations: 41.88 kB / 0.6152 GB, free: 8.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 1.663e-06/0.5006, allocations: 0 / 0.6152 GB, free: 8.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007371/0.5014, allocations: 407.3 kB / 0.6156 GB, free: 8.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.5015, allocations: 132.5 kB / 0.6158 GB, free: 7.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.5019, allocations: 452.4 kB / 0.6162 GB, free: 7.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.502, allocations: 29.7 kB / 0.6162 GB, free: 7.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.5022, allocations: 355.7 kB / 0.6166 GB, free: 7.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.5023, allocations: 164 kB / 0.6167 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.5023, allocations: 0 / 0.6167 GB, free: 7.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5025, allocations: 385 kB / 0.6171 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.5027, allocations: 153.8 kB / 0.6172 GB, free: 6.727 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.503, allocations: 244.9 kB / 0.6175 GB, free: 6.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.5032, allocations: 164 kB / 0.6176 GB, free: 6.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5033, allocations: 3.938 kB / 0.6176 GB, free: 6.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006632/0.5039, allocations: 481.6 kB / 0.6181 GB, free: 6.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.5043, allocations: 0.875 MB / 0.6189 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5043, allocations: 4 kB / 0.6189 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.5043, allocations: 4 kB / 0.6189 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/0.5052, allocations: 206.7 kB / 0.6191 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5053, allocations: 4 kB / 0.6191 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.5058, allocations: 115.5 kB / 0.6193 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.5058, allocations: 26.88 kB / 0.6193 GB, free: 4.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.5058, allocations: 4 kB / 0.6193 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005319/0.5064, allocations: 358.8 kB / 0.6196 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.5064, allocations: 0 / 0.6196 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.5064, allocations: 8 kB / 0.6196 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.5072, allocations: 171.9 kB / 0.6198 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5072, allocations: 7.953 kB / 0.6198 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.5076, allocations: 79.58 kB / 0.6199 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.5076, allocations: 23.69 kB / 0.6199 GB, free: 4.27 MB / 410.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 () * 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.0001166/0.5077, allocations: 108.9 kB / 0.62 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5079, allocations: 74.39 kB / 0.6201 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.508, allocations: 69.5 kB / 0.6201 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.508, allocations: 8 kB / 0.6202 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.508, allocations: 3.953 kB / 0.6202 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.508, allocations: 3.984 kB / 0.6202 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.5094, allocations: 1.059 MB / 0.6212 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5094, allocations: 0 / 0.6212 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.5101, allocations: 158.6 kB / 0.6213 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5101, allocations: 0 / 0.6213 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.5102, allocations: 19 kB / 0.6214 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5102, allocations: 0 / 0.6214 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5102, allocations: 4 kB / 0.6214 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.5111, allocations: 0.8165 MB / 0.6222 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.5114, allocations: 199.6 kB / 0.6224 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.5114, allocations: 0 / 0.6224 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.512, allocations: 91.92 kB / 0.6224 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.5121, allocations: 38.81 kB / 0.6225 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.5121, allocations: 15.48 kB / 0.6225 GB, free: 2.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003241/0.5124, allocations: 344.4 kB / 0.6228 GB, free: 1.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5125, allocations: 0 / 0.6228 GB, free: 1.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006509/0.5131, allocations: 199.2 kB / 0.623 GB, free: 1.656 MB / 410.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 () * 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.0001494/0.5133, allocations: 107.2 kB / 0.6231 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008701/0.5141, allocations: 0.6159 MB / 0.6237 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5142, allocations: 0 / 0.6237 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.5144, allocations: 209.4 kB / 0.6239 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.5152, allocations: 173.8 kB / 0.6241 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.5176, allocations: 1.101 MB / 0.6252 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.5181, allocations: 0.931 MB / 0.6261 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005799/0.5186, allocations: 139.4 kB / 0.6262 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.5188, allocations: 50.72 kB / 0.6262 GB, free: 14.69 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5188, allocations: 0 / 0.6262 GB, free: 14.69 MB / 426.7 MB Notification: Performance of Templates: time 0.01333/0.5321, allocations: 7.987 MB / 0.634 GB, free: 6.781 MB / 426.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