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.0009156/0.0009156, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 99.59 kB / 281.6 MB, free: 5.324 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.275/0.275, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.514e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1542, allocations: 61.91 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.6181, allocations: 91.02 MB / 0.5836 GB, free: 5.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.6183, allocations: 63.97 kB / 0.5836 GB, free: 5.461 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04571/0.6641, allocations: 15.6 MB / 0.5989 GB, free: 5.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.6641, allocations: 0 / 0.5989 GB, free: 5.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.034e-05/0.6642, allocations: 20 kB / 0.5989 GB, free: 5.82 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.001898/0.6661, allocations: 1.033 MB / 0.5999 GB, free: 4.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6661, allocations: 15.98 kB / 0.5999 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.6664, allocations: 106.8 kB / 0.6 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.6674, allocations: 0.5901 MB / 0.6006 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.6675, allocations: 19.98 kB / 0.6006 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.6676, allocations: 31.91 kB / 0.6006 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005993/0.6682, allocations: 334.6 kB / 0.6009 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.669, allocations: 0.5101 MB / 0.6014 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.669, allocations: 0 / 0.6014 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.669, allocations: 7.953 kB / 0.6014 GB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.6691, allocations: 12 kB / 0.6015 GB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.672, allocations: 2.188 MB / 0.6036 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.6734, allocations: 0.6914 MB / 0.6043 GB, free: 36 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.6737, allocations: 185.7 kB / 0.6044 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/0.6738, allocations: 8.062 kB / 0.6045 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.6738, allocations: 38.56 kB / 0.6045 GB, free: 15.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 2.494e-06/0.6738, allocations: 4 kB / 0.6045 GB, free: 15.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007728/0.6746, allocations: 417.6 kB / 0.6049 GB, free: 15.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.6747, allocations: 136.5 kB / 0.605 GB, free: 15.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.6752, allocations: 443.8 kB / 0.6054 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.6752, allocations: 25.7 kB / 0.6055 GB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.6755, allocations: 356.7 kB / 0.6058 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.6756, allocations: 161.6 kB / 0.606 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.6757, allocations: 0 / 0.606 GB, free: 14.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6758, allocations: 382.8 kB / 0.6063 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.6761, allocations: 153.1 kB / 0.6065 GB, free: 13.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.6764, allocations: 243.2 kB / 0.6067 GB, free: 13.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.6767, allocations: 161.6 kB / 0.6069 GB, free: 13.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6767, allocations: 0 / 0.6069 GB, free: 13.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007711/0.6774, allocations: 499.2 kB / 0.6073 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/0.6778, allocations: 0.8713 MB / 0.6082 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.6778, allocations: 7.953 kB / 0.6082 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.6778, allocations: 4 kB / 0.6082 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.6788, allocations: 203.7 kB / 0.6084 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.6789, allocations: 8 kB / 0.6084 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.6794, allocations: 115.5 kB / 0.6085 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.6795, allocations: 27.92 kB / 0.6085 GB, free: 11.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.6795, allocations: 4 kB / 0.6085 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005791/0.6801, allocations: 358.2 kB / 0.6089 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6801, allocations: 4 kB / 0.6089 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.6801, allocations: 7.984 kB / 0.6089 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.6809, allocations: 172 kB / 0.6091 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.6809, allocations: 4 kB / 0.6091 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.6814, allocations: 79.62 kB / 0.6091 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.6814, allocations: 16 kB / 0.6092 GB, free: 10.84 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.0001672/0.6816, allocations: 122.2 kB / 0.6093 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6817, allocations: 75.16 kB / 0.6093 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.6819, allocations: 66.94 kB / 0.6094 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.682, allocations: 7.984 kB / 0.6094 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.682, allocations: 4 kB / 0.6094 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.682, allocations: 3.938 kB / 0.6094 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.6836, allocations: 1.069 MB / 0.6105 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6836, allocations: 0 / 0.6105 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.6843, allocations: 151.8 kB / 0.6106 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.6843, allocations: 3.984 kB / 0.6106 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.6843, allocations: 8 kB / 0.6106 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6843, allocations: 4 kB / 0.6106 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.6844, allocations: 0 / 0.6106 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.6856, allocations: 0.8211 MB / 0.6114 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.6858, allocations: 188 kB / 0.6116 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.6859, allocations: 7.984 kB / 0.6116 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.6864, allocations: 83.92 kB / 0.6117 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.6865, allocations: 43.83 kB / 0.6117 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.6866, allocations: 19.98 kB / 0.6118 GB, free: 8.078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003684/0.687, allocations: 347.2 kB / 0.6121 GB, free: 7.742 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.687, allocations: 0 / 0.6121 GB, free: 7.742 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007346/0.6877, allocations: 199.2 kB / 0.6123 GB, free: 7.547 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.000171/0.6879, allocations: 103.1 kB / 0.6124 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.6889, allocations: 0.6135 MB / 0.613 GB, free: 6.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.689, allocations: 8 kB / 0.613 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.6893, allocations: 203.8 kB / 0.6132 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.6902, allocations: 174.1 kB / 0.6133 GB, free: 6.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.693, allocations: 1.1 MB / 0.6144 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.6935, allocations: 0.9349 MB / 0.6153 GB, free: 4.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006349/0.6942, allocations: 139.1 kB / 0.6155 GB, free: 4.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.6944, allocations: 43.42 kB / 0.6155 GB, free: 4.168 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6944, allocations: 8 kB / 0.6155 GB, free: 4.16 MB / 426.7 MB Notification: Performance of Templates: time 0.01438/0.7088, allocations: 7.988 MB / 0.6233 GB, free: 12.25 MB / 442.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/jenkins/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