Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001929/0.001929, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000787/0.000787, allocations: 90.58 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2061/0.2061, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.251e-05/1.253e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5446, allocations: 90.1 MB / 0.5539 GB, free: 5.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.5448, allocations: 71.16 kB / 0.554 GB, free: 5.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04147/0.5863, allocations: 15.71 MB / 0.5693 GB, free: 8.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5863, allocations: 0 / 0.5693 GB, free: 8.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.878e-05/0.5864, allocations: 23.94 kB / 0.5693 GB, free: 8.23 MB / 378.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.002211/0.5886, allocations: 1.037 MB / 0.5703 GB, free: 7.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5887, allocations: 15.97 kB / 0.5704 GB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.589, allocations: 106 kB / 0.5705 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.5904, allocations: 0.6141 MB / 0.5711 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.5905, allocations: 19.94 kB / 0.5711 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.5906, allocations: 31.06 kB / 0.5711 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006417/0.5912, allocations: 335.5 kB / 0.5714 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.5921, allocations: 0.5087 MB / 0.5719 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.5921, allocations: 0 / 0.5719 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.5922, allocations: 4 kB / 0.5719 GB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.5922, allocations: 15.98 kB / 0.5719 GB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.5956, allocations: 2.193 MB / 0.5741 GB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.5971, allocations: 0.6915 MB / 0.5748 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.5974, allocations: 182.5 kB / 0.5749 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.5975, allocations: 8.062 kB / 0.5749 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.5975, allocations: 42.31 kB / 0.575 GB, free: 3.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.214e-06/0.5976, allocations: 4 kB / 0.575 GB, free: 3.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007808/0.5983, allocations: 419.2 kB / 0.5754 GB, free: 2.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.5984, allocations: 132.5 kB / 0.5755 GB, free: 2.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.5989, allocations: 462.9 kB / 0.576 GB, free: 2.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.599, allocations: 25.7 kB / 0.576 GB, free: 2.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.5992, allocations: 370 kB / 0.5763 GB, free: 2.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.5994, allocations: 151.4 kB / 0.5765 GB, free: 1.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.5994, allocations: 0 / 0.5765 GB, free: 1.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5995, allocations: 332.5 kB / 0.5768 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.5998, allocations: 146.2 kB / 0.5769 GB, free: 1.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.6001, allocations: 245.8 kB / 0.5772 GB, free: 1.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.6004, allocations: 165.1 kB / 0.5773 GB, free: 1.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6004, allocations: 4 kB / 0.5773 GB, free: 1.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007724/0.6012, allocations: 496.9 kB / 0.5778 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003636/0.6015, allocations: 0.8763 MB / 0.5787 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6016, allocations: 4 kB / 0.5787 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.6016, allocations: 4 kB / 0.5787 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.6025, allocations: 202.7 kB / 0.5789 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6025, allocations: 4 kB / 0.5789 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.6031, allocations: 115.5 kB / 0.579 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.6031, allocations: 19.38 kB / 0.579 GB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.6031, allocations: 4 kB / 0.579 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005479/0.6037, allocations: 357.8 kB / 0.5793 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.6037, allocations: 0 / 0.5793 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.6037, allocations: 8.25 kB / 0.5794 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/0.6045, allocations: 170.7 kB / 0.5795 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6045, allocations: 12 kB / 0.5795 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.6049, allocations: 79.52 kB / 0.5796 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.605, allocations: 19.88 kB / 0.5796 GB, free: 15.07 MB / 394.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.0001427/0.6051, allocations: 124.1 kB / 0.5797 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.6053, allocations: 71.06 kB / 0.5798 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.6054, allocations: 75.89 kB / 0.5799 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.6054, allocations: 8 kB / 0.5799 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.6054, allocations: 0 / 0.5799 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6054, allocations: 3.984 kB / 0.5799 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.6069, allocations: 1.072 MB / 0.5809 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6069, allocations: 0 / 0.5809 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.6076, allocations: 161.8 kB / 0.5811 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6076, allocations: 0 / 0.5811 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.6077, allocations: 7.984 kB / 0.5811 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.6077, allocations: 4 kB / 0.5811 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6077, allocations: 3.953 kB / 0.5811 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009676/0.6086, allocations: 0.8141 MB / 0.5819 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.6089, allocations: 190.4 kB / 0.5821 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/0.6089, allocations: 5.562 kB / 0.5821 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.6095, allocations: 91.86 kB / 0.5822 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6096, allocations: 46.06 kB / 0.5822 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.6097, allocations: 19.86 kB / 0.5822 GB, free: 12.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003448/0.61, allocations: 352.7 kB / 0.5826 GB, free: 12.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.61, allocations: 0 / 0.5826 GB, free: 12.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006465/0.6107, allocations: 199.2 kB / 0.5828 GB, free: 12.42 MB / 394.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.0001527/0.6109, allocations: 103.2 kB / 0.5829 GB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.6118, allocations: 0.621 MB / 0.5835 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6118, allocations: 8 kB / 0.5835 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.6121, allocations: 195.2 kB / 0.5837 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.6129, allocations: 169.1 kB / 0.5838 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.6155, allocations: 1.122 MB / 0.5849 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.616, allocations: 0.939 MB / 0.5858 GB, free: 9.621 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006402/0.6166, allocations: 143.6 kB / 0.586 GB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6168, allocations: 54.72 kB / 0.586 GB, free: 9.426 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6168, allocations: 0 / 0.586 GB, free: 9.426 MB / 394.7 MB Notification: Performance of Templates: time 0.01387/0.6307, allocations: 8.071 MB / 0.5939 GB, free: 1.398 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches