Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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/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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) 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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.007993/0.007994, allocations: 1.434 MB / 17.75 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1039/0.1039, allocations: 22.37 MB / 41.17 MB, free: 7.766 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 116 kB / 48.67 MB, free: 240 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 196.2 kB / 56.27 MB, free: 9.449 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 286.6 MB, free: 13.94 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.7718/0.7718, allocations: 127.8 MB / 471.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/1.91e-05, allocations: 2.281 kB / 0.6359 GB, free: 13.33 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.002603/0.002631, allocations: 2.266 MB / 0.6381 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003671, allocations: 0.6855 MB / 0.6387 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.003737, allocations: 0 / 0.6387 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.56e-05/0.00383, allocations: 11.81 kB / 0.6388 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.003884, allocations: 19.81 kB / 0.6388 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.004242, allocations: 115.7 kB / 0.6389 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.004388, allocations: 99.69 kB / 0.639 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004495, allocations: 33.05 kB / 0.639 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.004558, allocations: 39.78 kB / 0.639 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.004622, allocations: 51.7 kB / 0.6391 GB, free: 10 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.004644, allocations: 8 kB / 0.6391 GB, free: 9.992 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.004664, allocations: 7.938 kB / 0.6391 GB, free: 9.984 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0001085/0.004777, allocations: 158 kB / 0.6393 GB, free: 9.828 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 4.545e-05/0.004828, allocations: 102.4 kB / 0.6394 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.004851, allocations: 11.94 kB / 0.6394 GB, free: 9.715 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.807e-05/0.004873, allocations: 4 kB / 0.6394 GB, free: 9.711 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0004776/0.005355, allocations: 0.5382 MB / 0.6399 GB, free: 9.07 MB / 478.1 MB Notification: Performance of FunctionAlias: time 2.472e-05/0.005385, allocations: 19.92 kB / 0.6399 GB, free: 9.051 MB / 478.1 MB Notification: Performance of Early Inline: time 0.0001903/0.00558, allocations: 228.3 kB / 0.6401 GB, free: 8.801 MB / 478.1 MB Notification: Performance of simplify1: time 2.817e-05/0.005614, allocations: 19.91 kB / 0.6402 GB, free: 8.781 MB / 478.1 MB Notification: Performance of Alias: time 0.000461/0.006081, allocations: 394.1 kB / 0.6405 GB, free: 8.312 MB / 478.1 MB Notification: Performance of simplify2: time 1.625e-05/0.006106, allocations: 11.98 kB / 0.6405 GB, free: 8.301 MB / 478.1 MB Notification: Performance of Detect States: time 9.866e-05/0.00621, allocations: 75.36 kB / 0.6406 GB, free: 8.215 MB / 478.1 MB Notification: Performance of Events: time 0.0001112/0.006328, allocations: 76.94 kB / 0.6407 GB, free: 8.137 MB / 478.1 MB Notification: Performance of Partitioning: time 8.176e-05/0.006416, allocations: 64.11 kB / 0.6407 GB, free: 8.066 MB / 478.1 MB Notification: Performance of Causalize: time 0.0002679/0.006691, allocations: 240.8 kB / 0.641 GB, free: 7.824 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001958/0.006895, allocations: 240.2 kB / 0.6412 GB, free: 7.562 MB / 478.1 MB Notification: Performance of Inline: time 0.0002639/0.007165, allocations: 304.2 kB / 0.6415 GB, free: 7.23 MB / 478.1 MB Notification: Performance of Partitioning: time 2.911e-05/0.007201, allocations: 28.06 kB / 0.6415 GB, free: 7.195 MB / 478.1 MB Notification: Performance of Cleanup: time 1.595e-05/0.007222, allocations: 15.97 kB / 0.6415 GB, free: 7.18 MB / 478.1 MB Notification: Performance of Causalize: time 0.0003239/0.007552, allocations: 296.6 kB / 0.6418 GB, free: 6.887 MB / 478.1 MB Notification: Performance of Tearing: time 9.177e-06/0.007569, allocations: 0 / 0.6418 GB, free: 6.887 MB / 478.1 MB Notification: Performance of Initialization: time 4.31e-07/0.007574, allocations: 3.938 kB / 0.6418 GB, free: 6.883 MB / 478.1 MB Notification: Performance of Tearing: time 1.673e-06/0.00758, allocations: 0 / 0.6418 GB, free: 6.883 MB / 478.1 MB Notification: Performance of Categorize: time 6.162e-06/0.00759, allocations: 0 / 0.6418 GB, free: 6.883 MB / 478.1 MB Notification: Performance of Solve: time 7.042e-05/0.007664, allocations: 39.95 kB / 0.6419 GB, free: 6.844 MB / 478.1 MB Notification: Performance of Jacobian: time 0.0001646/0.007835, allocations: 242 kB / 0.6421 GB, free: 6.57 MB / 478.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: ............................. 1 (1) {variableGradientLimiter.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, 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: ........... 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: Performance of backend: time 3.237e-05/0.007875, allocations: 27.66 kB / 0.6421 GB, free: 6.551 MB / 478.1 MB Notification: Performance of SimCode: time 0.0005978/0.008479, allocations: 0.9793 MB / 0.6431 GB, free: 5.547 MB / 478.1 MB Notification: Performance of Templates: time 0.002341/0.01083, allocations: 0.7 MB / 0.6438 GB, free: 4.852 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches