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.0009923/0.0009923, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009241/0.0009241, allocations: 96.5 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 45.16 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.528e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09467, allocations: 63.24 MB / 0.5114 GB, free: 6.801 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4585, allocations: 92.73 MB / 0.6019 GB, free: 1.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.4587, allocations: 66.03 kB / 0.602 GB, free: 1.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04214/0.5009, allocations: 15.68 MB / 0.6173 GB, free: 3.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5009, allocations: 3.938 kB / 0.6173 GB, free: 3.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-05/0.501, allocations: 23.94 kB / 0.6173 GB, free: 3.883 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.001914/0.5029, allocations: 1.041 MB / 0.6183 GB, free: 2.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5029, allocations: 11.97 kB / 0.6183 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.5035, allocations: 154.8 kB / 0.6185 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.5047, allocations: 0.5929 MB / 0.6191 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.5047, allocations: 39.25 kB / 0.6191 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.329e-05/0.5048, allocations: 60.28 kB / 0.6192 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.5057, allocations: 0.5669 MB / 0.6197 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.5057, allocations: 7.75 kB / 0.6197 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.5057, allocations: 25.05 kB / 0.6198 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5058, allocations: 12 kB / 0.6198 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.5063, allocations: 364.3 kB / 0.6201 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.5093, allocations: 2.275 MB / 0.6223 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.5107, allocations: 0.7148 MB / 0.623 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.511, allocations: 191.3 kB / 0.6232 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.5111, allocations: 8.062 kB / 0.6232 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5111, allocations: 45.19 kB / 0.6233 GB, free: 14.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 3.908e-06/0.5111, allocations: 7.922 kB / 0.6233 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007519/0.5119, allocations: 433.6 kB / 0.6237 GB, free: 14.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.512, allocations: 140.5 kB / 0.6238 GB, free: 14.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.5125, allocations: 492.8 kB / 0.6243 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.5126, allocations: 32.95 kB / 0.6243 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.5128, allocations: 355 kB / 0.6247 GB, free: 13.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.513, allocations: 171.9 kB / 0.6248 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.513, allocations: 10.75 kB / 0.6248 GB, free: 13.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5132, allocations: 377.8 kB / 0.6252 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.5134, allocations: 154.7 kB / 0.6253 GB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.5138, allocations: 260.1 kB / 0.6256 GB, free: 12.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.514, allocations: 163.4 kB / 0.6257 GB, free: 12.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5141, allocations: 4.031 kB / 0.6257 GB, free: 12.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007735/0.5148, allocations: 0.5125 MB / 0.6262 GB, free: 12.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/0.5152, allocations: 0.877 MB / 0.6271 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5152, allocations: 4 kB / 0.6271 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5152, allocations: 4 kB / 0.6271 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/0.5162, allocations: 211.2 kB / 0.6273 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.5162, allocations: 4 kB / 0.6273 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.5168, allocations: 125.2 kB / 0.6274 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.5169, allocations: 19.12 kB / 0.6275 GB, free: 10.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.5169, allocations: 4 kB / 0.6275 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006152/0.5175, allocations: 412.2 kB / 0.6279 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.5175, allocations: 0 / 0.6279 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.5175, allocations: 15.89 kB / 0.6279 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.5183, allocations: 175.6 kB / 0.628 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5183, allocations: 4 kB / 0.628 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.5187, allocations: 88.2 kB / 0.6281 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.5188, allocations: 18.98 kB / 0.6281 GB, free: 10.35 MB / 426.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.0001324/0.5189, allocations: 133 kB / 0.6283 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.519, allocations: 75.06 kB / 0.6283 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.5192, allocations: 75.94 kB / 0.6284 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5192, allocations: 11.95 kB / 0.6284 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5192, allocations: 4 kB / 0.6284 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5192, allocations: 3.984 kB / 0.6284 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.5208, allocations: 1.15 MB / 0.6296 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5208, allocations: 0 / 0.6296 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/0.5215, allocations: 161.8 kB / 0.6297 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5215, allocations: 4 kB / 0.6297 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.5216, allocations: 18.3 kB / 0.6297 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.5216, allocations: 4 kB / 0.6297 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5216, allocations: 0 / 0.6297 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.5226, allocations: 0.8545 MB / 0.6306 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.5228, allocations: 192.2 kB / 0.6308 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.5229, allocations: 14.56 kB / 0.6308 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.5235, allocations: 94.23 kB / 0.6309 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.5236, allocations: 50.11 kB / 0.6309 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.5236, allocations: 15.05 kB / 0.6309 GB, free: 8.055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003754/0.524, allocations: 388.4 kB / 0.6313 GB, free: 7.766 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.524, allocations: 0 / 0.6313 GB, free: 7.766 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006365/0.5247, allocations: 225.1 kB / 0.6315 GB, free: 7.566 MB / 426.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.0001549/0.5248, allocations: 115.1 kB / 0.6316 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009853/0.5258, allocations: 0.6546 MB / 0.6323 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5258, allocations: 0 / 0.6323 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.5261, allocations: 216 kB / 0.6325 GB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.527, allocations: 176.7 kB / 0.6326 GB, free: 6.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.5296, allocations: 1.115 MB / 0.6337 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.53, allocations: 0.9353 MB / 0.6346 GB, free: 4.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005745/0.5306, allocations: 135.3 kB / 0.6348 GB, free: 4.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.5308, allocations: 42.92 kB / 0.6348 GB, free: 4.559 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5308, allocations: 0 / 0.6348 GB, free: 4.559 MB / 426.7 MB Notification: Performance of Templates: time 0.01344/0.5442, allocations: 8.632 MB / 0.6432 GB, free: 12 MB / 442.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