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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 213.1 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2978/0.2978, allocations: 46.94 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,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=5093,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 79.88 kB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5336, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005577/0.5391, allocations: 3.208 MB / 0.5643 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.5427, allocations: 1.445 MB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004555/0.5432, allocations: 35.69 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.5436, allocations: 114.7 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.5442, allocations: 158.5 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.5459, allocations: 0.6527 MB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.5471, allocations: 0.9366 MB / 0.5676 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.5475, allocations: 208.7 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.5482, allocations: 382.5 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.5486, allocations: 330.1 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.5487, allocations: 75.94 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.5488, allocations: 80 kB / 0.5686 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.549, allocations: 179.3 kB / 0.5688 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.5493, allocations: 294.2 kB / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.5503, allocations: 0.8552 MB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5503, allocations: 0 / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5503, allocations: 4 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.5503, allocations: 0 / 0.5699 GB, free: 11 MB / 414.1 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.00229/0.5526, allocations: 1.147 MB / 0.571 GB, free: 9.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5526, allocations: 12.03 kB / 0.571 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.5532, allocations: 148.1 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5542, allocations: 0.5363 MB / 0.5717 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.5543, allocations: 41.38 kB / 0.5717 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.5544, allocations: 60.31 kB / 0.5718 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.556, allocations: 0.9216 MB / 0.5727 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.556, allocations: 4 kB / 0.5727 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.5561, allocations: 24 kB / 0.5727 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.5561, allocations: 12 kB / 0.5727 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.5576, allocations: 0.558 MB / 0.5733 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.561, allocations: 2.025 MB / 0.5752 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.5627, allocations: 0.6078 MB / 0.5758 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008077/0.5635, allocations: 318.2 kB / 0.5761 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.5636, allocations: 8.375 kB / 0.5761 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.5636, allocations: 42.92 kB / 0.5762 GB, free: 4.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.5636, allocations: 0 / 0.5762 GB, free: 4.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004768/0.5684, allocations: 1.873 MB / 0.578 GB, free: 2.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.5685, allocations: 243.6 kB / 0.5782 GB, free: 2.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/0.5693, allocations: 0.5708 MB / 0.5788 GB, free: 1.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.5693, allocations: 33.7 kB / 0.5788 GB, free: 1.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.5697, allocations: 373.2 kB / 0.5792 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.5698, allocations: 186.4 kB / 0.5794 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.57, allocations: 110.3 kB / 0.5795 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5702, allocations: 322 kB / 0.5798 GB, free: 492 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/0.5709, allocations: 307.2 kB / 0.5801 GB, free: 180 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.572, allocations: 0.573 MB / 0.5806 GB, free: 15.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.5736, allocations: 0.6542 MB / 0.5813 GB, free: 14.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5736, allocations: 0 / 0.5813 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001958/0.5756, allocations: 0.7937 MB / 0.582 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5756, allocations: 4 kB / 0.582 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5756, allocations: 4 kB / 0.582 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.5756, allocations: 4 kB / 0.5821 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.5766, allocations: 195.8 kB / 0.5822 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.5766, allocations: 15.88 kB / 0.5823 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.5772, allocations: 83.88 kB / 0.5823 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.5772, allocations: 19.98 kB / 0.5824 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008033/0.5781, allocations: 365.3 kB / 0.5827 GB, free: 13.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007419/0.5788, allocations: 0.5161 MB / 0.5832 GB, free: 12.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001183/0.58, allocations: 0.5358 MB / 0.5837 GB, free: 12.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/0.58, allocations: 4 kB / 0.5837 GB, free: 12.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00149/0.5815, allocations: 0.6597 MB / 0.5844 GB, free: 11.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5815, allocations: 8 kB / 0.5844 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5815, allocations: 0 / 0.5844 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5815, allocations: 8 kB / 0.5844 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.5823, allocations: 168 kB / 0.5846 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5823, allocations: 4 kB / 0.5846 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.5828, allocations: 67.86 kB / 0.5846 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.5828, allocations: 27.98 kB / 0.5846 GB, free: 11.22 MB / 430.1 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.5831, allocations: 216.1 kB / 0.5849 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.5832, allocations: 75.48 kB / 0.5849 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.5835, allocations: 83.28 kB / 0.585 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.5835, allocations: 11.94 kB / 0.585 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5835, allocations: 3.938 kB / 0.585 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5835, allocations: 3.984 kB / 0.585 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.5862, allocations: 1.269 MB / 0.5863 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5862, allocations: 0 / 0.5863 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.5869, allocations: 152 kB / 0.5864 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.5869, allocations: 4 kB / 0.5864 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.5869, allocations: 15.98 kB / 0.5864 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5869, allocations: 0 / 0.5864 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5869, allocations: 4 kB / 0.5864 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.5897, allocations: 1.269 MB / 0.5877 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.5899, allocations: 115.4 kB / 0.5878 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.59, allocations: 12 kB / 0.5878 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.5906, allocations: 75.91 kB / 0.5879 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5907, allocations: 47.92 kB / 0.5879 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.5907, allocations: 15.98 kB / 0.5879 GB, free: 7.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005302/0.5913, allocations: 395.1 kB / 0.5883 GB, free: 7.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5913, allocations: 4 kB / 0.5883 GB, free: 7.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007289/0.592, allocations: 183.9 kB / 0.5885 GB, free: 7.219 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,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 (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001403/0.5921, allocations: 107.1 kB / 0.5886 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.5946, allocations: 0.9531 MB / 0.5895 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5946, allocations: 0.625 kB / 0.5895 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.5955, allocations: 344.1 kB / 0.5898 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5965, allocations: 205.5 kB / 0.59 GB, free: 5.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.5993, allocations: 1.355 MB / 0.5914 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.5997, allocations: 331.1 kB / 0.5917 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000454/0.6002, allocations: 88.78 kB / 0.5918 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6004, allocations: 63.34 kB / 0.5918 GB, free: 3.727 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6004, allocations: 0 / 0.5918 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Templates: time 0.02122/0.6216, allocations: 10.07 MB / 0.6017 GB, free: 9.789 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.021374274045229]