Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.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.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008167/0.008167, allocations: 1.435 MB / 17.75 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1054/0.1054, 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.000901/0.0009011, allocations: 108 kB / 48.66 MB, free: 268 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.001121/0.001121, allocations: 187 kB / 56.26 MB, free: 9.473 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.214/1.214, allocations: 222.9 MB / 286.6 MB, free: 13.99 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.7708/0.7708, allocations: 127.8 MB / 471.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.526e-05, allocations: 5.781 kB / 0.6359 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.002962/0.002988, allocations: 2.343 MB / 0.6381 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.003792, allocations: 0.4989 MB / 0.6386 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.003871, allocations: 0 / 0.6386 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.004121, allocations: 91.62 kB / 0.6387 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.004339, allocations: 79.67 kB / 0.6388 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.004766, allocations: 186.7 kB / 0.639 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.004994, allocations: 171.5 kB / 0.6391 GB, free: 9.965 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.005104, allocations: 41.52 kB / 0.6392 GB, free: 9.926 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.005197, allocations: 59.77 kB / 0.6392 GB, free: 9.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.005309, allocations: 71.67 kB / 0.6393 GB, free: 9.797 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.00534, allocations: 8 kB / 0.6393 GB, free: 9.789 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.005419, allocations: 43.92 kB / 0.6394 GB, free: 9.746 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0001283/0.005553, allocations: 197.4 kB / 0.6395 GB, free: 9.551 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 6.317e-05/0.005622, allocations: 153.7 kB / 0.6397 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.00565, allocations: 15.94 kB / 0.6397 GB, free: 9.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.135e-05/0.005698, allocations: 11.94 kB / 0.6397 GB, free: 9.371 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0005672/0.00627, allocations: 0.5798 MB / 0.6403 GB, free: 8.688 MB / 478.1 MB Notification: Performance of FunctionAlias: time 5.495e-05/0.006331, allocations: 19.98 kB / 0.6403 GB, free: 8.668 MB / 478.1 MB Notification: Performance of Early Inline: time 0.0001357/0.006474, allocations: 172.2 kB / 0.6405 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simplify1: time 1.954e-05/0.006501, allocations: 11.98 kB / 0.6405 GB, free: 8.461 MB / 478.1 MB Notification: Performance of Alias: time 0.0002847/0.006791, allocations: 209.8 kB / 0.6407 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simplify2: time 1.258e-05/0.006812, allocations: 11.98 kB / 0.6407 GB, free: 8.199 MB / 478.1 MB Notification: Performance of Detect States: time 5.896e-05/0.006876, allocations: 48.23 kB / 0.6407 GB, free: 8.137 MB / 478.1 MB Notification: Performance of Events: time 6.31e-05/0.006946, allocations: 31.97 kB / 0.6408 GB, free: 8.105 MB / 478.1 MB Notification: Performance of Partitioning: time 7.7e-05/0.007029, allocations: 76.03 kB / 0.6408 GB, free: 8.023 MB / 478.1 MB Notification: Performance of Causalize: time 0.0003213/0.007356, allocations: 302.5 kB / 0.6411 GB, free: 7.723 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.000134/0.007498, allocations: 160.4 kB / 0.6413 GB, free: 7.539 MB / 478.1 MB Notification: Performance of Inline: time 0.002001/0.009505, allocations: 0.5214 MB / 0.6418 GB, free: 7.051 MB / 478.1 MB Notification: Performance of Partitioning: time 2.615e-05/0.009541, allocations: 20.12 kB / 0.6418 GB, free: 7.023 MB / 478.1 MB Notification: Performance of Cleanup: time 1.543e-05/0.009562, allocations: 15.98 kB / 0.6418 GB, free: 7.008 MB / 478.1 MB Notification: Performance of Causalize: time 0.0007155/0.01028, allocations: 0.6573 MB / 0.6425 GB, free: 6.344 MB / 478.1 MB Notification: Performance of Tearing: time 1.059e-05/0.0103, allocations: 7.875 kB / 0.6425 GB, free: 6.336 MB / 478.1 MB Notification: Performance of Initialization: time 5.11e-07/0.01031, allocations: 0 / 0.6425 GB, free: 6.336 MB / 478.1 MB Notification: Performance of Tearing: time 2.134e-06/0.01031, allocations: 0 / 0.6425 GB, free: 6.336 MB / 478.1 MB Notification: Performance of Categorize: time 7.724e-06/0.01033, allocations: 4 kB / 0.6425 GB, free: 6.332 MB / 478.1 MB Notification: Performance of Solve: time 0.0001038/0.01043, allocations: 67.94 kB / 0.6425 GB, free: 6.266 MB / 478.1 MB Notification: Performance of Jacobian: time 2.855e-06/0.01044, allocations: 0 / 0.6425 GB, free: 6.266 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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (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: ........... 13 (scalar:11, array:2, 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: ........... 23 (scalar:17, array:4, record:2) * 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 2.908e-05/0.01048, allocations: 25.81 kB / 0.6426 GB, free: 6.246 MB / 478.1 MB Notification: Performance of SimCode: time 0.001541/0.01202, allocations: 1.578 MB / 0.6441 GB, free: 4.797 MB / 478.1 MB Notification: Performance of Templates: time 0.003415/0.01545, allocations: 1.43 MB / 0.6455 GB, free: 3.371 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testTableGain.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches