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.00837/0.00837, allocations: 1.433 MB / 17.75 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1055/0.1055, allocations: 22.38 MB / 41.17 MB, free: 7.781 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.000965/0.0009649, allocations: 104 kB / 48.66 MB, free: 272 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.001085/0.001085, allocations: 197.5 kB / 56.26 MB, free: 9.461 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.263/1.263, allocations: 222.9 MB / 286.6 MB, free: 13.93 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8079/0.8079, allocations: 127.8 MB / 471.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.678e-05, allocations: 2.281 kB / 0.6358 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.002692/0.002718, allocations: 2.28 MB / 0.6381 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003795, allocations: 0.6777 MB / 0.6387 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.003861, allocations: 4 kB / 0.6387 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.986e-05/0.003956, allocations: 11.81 kB / 0.6388 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.004009, allocations: 19.78 kB / 0.6388 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.004367, allocations: 103.7 kB / 0.6389 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.00451, allocations: 99.69 kB / 0.639 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.00462, allocations: 33.03 kB / 0.639 GB, free: 10.06 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.004682, allocations: 39.84 kB / 0.639 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.004749, allocations: 51.66 kB / 0.6391 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.004772, allocations: 8 kB / 0.6391 GB, free: 9.965 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.004791, allocations: 8 kB / 0.6391 GB, free: 9.957 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0001173/0.004913, allocations: 162 kB / 0.6393 GB, free: 9.797 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 5.14e-05/0.00497, allocations: 102.4 kB / 0.6394 GB, free: 9.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.004993, allocations: 15.94 kB / 0.6394 GB, free: 9.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.346e-05/0.00501, allocations: 0 / 0.6394 GB, free: 9.68 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.0004957/0.005513, allocations: 0.5382 MB / 0.6399 GB, free: 9.039 MB / 478.1 MB Notification: Performance of FunctionAlias: time 3.538e-05/0.005554, allocations: 19.92 kB / 0.6399 GB, free: 9.02 MB / 478.1 MB Notification: Performance of Early Inline: time 0.000193/0.005751, allocations: 232.3 kB / 0.6401 GB, free: 8.766 MB / 478.1 MB Notification: Performance of simplify1: time 2.583e-05/0.005783, allocations: 23.91 kB / 0.6402 GB, free: 8.742 MB / 478.1 MB Notification: Performance of Alias: time 0.0004823/0.006269, allocations: 382.1 kB / 0.6405 GB, free: 8.285 MB / 478.1 MB Notification: Performance of simplify2: time 1.941e-05/0.0063, allocations: 27.95 kB / 0.6405 GB, free: 8.258 MB / 478.1 MB Notification: Performance of Events: time 0.0001022/0.006407, allocations: 72.95 kB / 0.6406 GB, free: 8.184 MB / 478.1 MB Notification: Performance of Detect States: time 0.000127/0.00654, allocations: 80.12 kB / 0.6407 GB, free: 8.09 MB / 478.1 MB Notification: Performance of Partitioning: time 8.169e-05/0.006629, allocations: 72.09 kB / 0.6408 GB, free: 8.012 MB / 478.1 MB Notification: Performance of Causalize: time 0.0002728/0.006907, allocations: 235.9 kB / 0.641 GB, free: 7.773 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001871/0.007102, allocations: 240.2 kB / 0.6412 GB, free: 7.512 MB / 478.1 MB Notification: Performance of Inline: time 0.000268/0.007375, allocations: 304.2 kB / 0.6415 GB, free: 7.18 MB / 478.1 MB Notification: Performance of Partitioning: time 1.884e-05/0.007402, allocations: 20.12 kB / 0.6415 GB, free: 7.152 MB / 478.1 MB Notification: Performance of Cleanup: time 1.743e-05/0.007425, allocations: 27.89 kB / 0.6416 GB, free: 7.125 MB / 478.1 MB Notification: Performance of Causalize: time 0.0003183/0.007747, allocations: 288.3 kB / 0.6418 GB, free: 6.836 MB / 478.1 MB Notification: Performance of Tearing: time 6.782e-06/0.007762, allocations: 0 / 0.6418 GB, free: 6.836 MB / 478.1 MB Notification: Performance of Initialization: time 1.964e-06/0.007768, allocations: 0 / 0.6418 GB, free: 6.836 MB / 478.1 MB Notification: Performance of Tearing: time 1.042e-06/0.007773, allocations: 3.938 kB / 0.6418 GB, free: 6.832 MB / 478.1 MB Notification: Performance of Categorize: time 8.366e-06/0.007785, allocations: 4 kB / 0.6418 GB, free: 6.828 MB / 478.1 MB Notification: Performance of Solve: time 6.828e-05/0.007857, allocations: 31.97 kB / 0.6419 GB, free: 6.797 MB / 478.1 MB Notification: Performance of Jacobian: time 0.0001822/0.008044, allocations: 246 kB / 0.6421 GB, free: 6.52 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.194e-05/0.008084, allocations: 27.03 kB / 0.6421 GB, free: 6.5 MB / 478.1 MB Notification: Performance of SimCode: time 0.0005901/0.008679, allocations: 0.9736 MB / 0.6431 GB, free: 5.504 MB / 478.1 MB Notification: Performance of Templates: time 0.002548/0.01124, allocations: 0.7072 MB / 0.6438 GB, free: 4.805 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