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.0009665/0.0009666, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009565/0.0009564, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2089/0.2089, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 11.98 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1106, allocations: 58.85 MB / 490.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4544, allocations: 90.85 MB / 0.5675 GB, free: 9.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4547, allocations: 70.09 kB / 0.5675 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04514/0.4998, allocations: 15.85 MB / 0.583 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.4999, allocations: 0 / 0.583 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.456e-05/0.5, allocations: 31.88 kB / 0.583 GB, free: 11.52 MB / 394.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.002282/0.5022, allocations: 1.167 MB / 0.5842 GB, free: 10.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5023, allocations: 8.031 kB / 0.5842 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.5025, allocations: 98.78 kB / 0.5843 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.5037, allocations: 0.6125 MB / 0.5849 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.5038, allocations: 40 kB / 0.5849 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.5039, allocations: 65.16 kB / 0.585 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.5052, allocations: 0.723 MB / 0.5857 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5053, allocations: 3.953 kB / 0.5857 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.5053, allocations: 29.19 kB / 0.5857 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5054, allocations: 12 kB / 0.5857 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.5067, allocations: 0.5971 MB / 0.5863 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.5097, allocations: 2.287 MB / 0.5885 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.5124, allocations: 1.056 MB / 0.5896 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.5125, allocations: 20 kB / 0.5896 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.5125, allocations: 41.69 kB / 0.5896 GB, free: 5.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 2.855e-06/0.5125, allocations: 0 / 0.5896 GB, free: 5.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.00253/0.515, allocations: 1.036 MB / 0.5906 GB, free: 4.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.5151, allocations: 132.5 kB / 0.5908 GB, free: 4.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005856/0.5157, allocations: 0.5033 MB / 0.5913 GB, free: 4.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.5158, allocations: 32.58 kB / 0.5913 GB, free: 4.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.516, allocations: 373.4 kB / 0.5916 GB, free: 3.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.5162, allocations: 167.3 kB / 0.5918 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.5162, allocations: 7.562 kB / 0.5918 GB, free: 3.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5163, allocations: 328.9 kB / 0.5921 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007363/0.517, allocations: 314.1 kB / 0.5924 GB, free: 3.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.5179, allocations: 417.8 kB / 0.5928 GB, free: 2.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.5186, allocations: 331.5 kB / 0.5931 GB, free: 2.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5186, allocations: 0 / 0.5931 GB, free: 2.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001722/0.5204, allocations: 0.8329 MB / 0.594 GB, free: 1.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.5207, allocations: 0.8832 MB / 0.5948 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.5208, allocations: 4 kB / 0.5948 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5208, allocations: 4 kB / 0.5948 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/0.5217, allocations: 198.9 kB / 0.595 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.5218, allocations: 7.938 kB / 0.595 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.5223, allocations: 124.8 kB / 0.5951 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.5224, allocations: 19.42 kB / 0.5952 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.5224, allocations: 4 kB / 0.5952 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.5237, allocations: 0.5952 MB / 0.5957 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.5237, allocations: 0 / 0.5957 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.5237, allocations: 8 kB / 0.5958 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.5244, allocations: 171.3 kB / 0.5959 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5245, allocations: 8 kB / 0.5959 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.5249, allocations: 86.59 kB / 0.596 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.5249, allocations: 18.94 kB / 0.596 GB, free: 15.83 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 () * 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.0003552/0.5253, allocations: 278 kB / 0.5963 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.5254, allocations: 75.06 kB / 0.5964 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.5256, allocations: 79.81 kB / 0.5964 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5256, allocations: 4 kB / 0.5964 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5256, allocations: 7.984 kB / 0.5964 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5256, allocations: 7.938 kB / 0.5965 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.5281, allocations: 1.406 MB / 0.5978 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5281, allocations: 0 / 0.5978 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.5288, allocations: 159.1 kB / 0.598 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5288, allocations: 8 kB / 0.598 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.5288, allocations: 19.44 kB / 0.598 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5288, allocations: 3.938 kB / 0.598 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5288, allocations: 0 / 0.598 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.5313, allocations: 1.318 MB / 0.5993 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.5316, allocations: 195.3 kB / 0.5995 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.5316, allocations: 11.38 kB / 0.5995 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.5322, allocations: 95.8 kB / 0.5996 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5323, allocations: 42.94 kB / 0.5996 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.5324, allocations: 15.8 kB / 0.5996 GB, free: 12.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004643/0.5328, allocations: 408.2 kB / 0.6 GB, free: 12.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5328, allocations: 0 / 0.6 GB, free: 12.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006912/0.5335, allocations: 227.7 kB / 0.6003 GB, free: 12.21 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 () * 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.0001547/0.5337, allocations: 114.2 kB / 0.6004 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.536, allocations: 1.036 MB / 0.6014 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.536, allocations: 0 / 0.6014 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.5368, allocations: 374.7 kB / 0.6017 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000896/0.5377, allocations: 164.7 kB / 0.6019 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.5411, allocations: 1.753 MB / 0.6036 GB, free: 9.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.5416, allocations: 0.9457 MB / 0.6045 GB, free: 8.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005025/0.5421, allocations: 93.11 kB / 0.6046 GB, free: 8.105 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.5423, allocations: 55.09 kB / 0.6047 GB, free: 8.055 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5423, allocations: 0 / 0.6047 GB, free: 8.055 MB / 410.7 MB Notification: Performance of Templates: time 0.01318/0.5555, allocations: 7.267 MB / 0.6118 GB, free: 0.8281 MB / 410.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