Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 111.7 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.129e-05, allocations: 4.531 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00251/0.00254, allocations: 1.676 MB / 361 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.003409, allocations: 0.5182 MB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.003502, allocations: 7.938 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.003616, allocations: 15.81 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.003699, allocations: 27.77 kB / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.003866, allocations: 47.89 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.00407, allocations: 127.6 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.004197, allocations: 36.88 kB / 361.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.00426, allocations: 43.73 kB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.004335, allocations: 43.78 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.004374, allocations: 12 kB / 361.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.004395, allocations: 8 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001345/0.004534, allocations: 185.7 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.019e-05/0.004609, allocations: 118.2 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.004637, allocations: 15.94 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.728e-05/0.004669, allocations: 7.938 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (19) Notification: Performance of Bindings: time 0.0005889/0.005262, allocations: 0.5771 MB / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.603e-05/0.005296, allocations: 15.98 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002109/0.005512, allocations: 232.2 kB / 363 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simplify1: time 1.915e-05/0.005537, allocations: 15.97 kB / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of Alias: time 0.0005987/0.00614, allocations: 458.9 kB / 363.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of simplify2: time 1.565e-05/0.006165, allocations: 15.97 kB / 363.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of Events: time 8.737e-05/0.006258, allocations: 56.84 kB / 363.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002591/0.006524, allocations: 84.16 kB / 363.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Partitioning: time 8.444e-05/0.006616, allocations: 64.11 kB / 363.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003469/0.006969, allocations: 244 kB / 363.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002322/0.007216, allocations: 212.1 kB / 364.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of Inline: time 0.0003001/0.007526, allocations: 329 kB / 364.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of Partitioning: time 3.351e-05/0.007568, allocations: 20.12 kB / 364.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Cleanup: time 1.294e-05/0.007587, allocations: 11.92 kB / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of Causalize: time 0.0005471/0.00814, allocations: 472.1 kB / 365 MB, free: 7.02 MB / 302.1 MB Notification: Performance of Tearing: time 7.194e-06/0.008157, allocations: 0 / 365 MB, free: 7.02 MB / 302.1 MB Notification: Performance of Initialization: time 3.51e-07/0.008164, allocations: 7.938 kB / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Tearing: time 8.51e-07/0.00817, allocations: 0 / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Categorize: time 7.183e-06/0.008181, allocations: 0 / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Solve: time 7.528e-05/0.00826, allocations: 44.14 kB / 365 MB, free: 6.969 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002103/0.008478, allocations: 254 kB / 365.3 MB, free: 6.684 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {limit_v.y, sSmoothed, vLimited} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.8e-05/0.008523, allocations: 32.95 kB / 365.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006936/0.009224, allocations: 1.005 MB / 366.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of Templates: time 0.002805/0.01204, allocations: 0.8672 MB / 367.2 MB, free: 4.762 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches