Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|T.k1|T.k2|T.u1|T.u2|T.y|Time|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|timeExtrema.initOption|timeExtrema.samplingTime|timeExtrema.startTime|timeExtrema.u|timeExtrema.y_max|timeExtrema.y_min|timeExtrema.y_start.1.|timeExtrema.y_start.2.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|T.k1|T.k2|T.u1|T.u2|T.y|Time|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|timeExtrema.initOption|timeExtrema.samplingTime|timeExtrema.startTime|timeExtrema.u|timeExtrema.y_max|timeExtrema.y_min|timeExtrema.y_start.1.|timeExtrema.y_start.2.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008307/0.008307, allocations: 1.431 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.1158/0.1158, 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.0009786/0.0009785, allocations: 104 kB / 48.67 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.001189/0.001189, allocations: 191.5 kB / 56.27 MB, free: 3.508 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 286.6 MB, free: 1.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.839/0.839, allocations: 127.8 MB / 471.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.849e-05, allocations: 2.281 kB / 0.6359 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003181/0.003211, allocations: 2.291 MB / 0.6381 GB, free: 9.008 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.004125, allocations: 470.9 kB / 0.6385 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.0042, allocations: 0 / 0.6385 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.665e-05/0.004255, allocations: 7.922 kB / 0.6386 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.004361, allocations: 19.8 kB / 0.6386 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.004622, allocations: 39.95 kB / 0.6386 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.004821, allocations: 95.69 kB / 0.6387 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004941, allocations: 23.91 kB / 0.6387 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005053, allocations: 27.92 kB / 0.6387 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.005139, allocations: 47.83 kB / 0.6388 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.005174, allocations: 4 kB / 0.6388 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.005197, allocations: 8 kB / 0.6388 GB, free: 8.273 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0001425/0.005344, allocations: 118.6 kB / 0.6389 GB, free: 8.156 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 4.809e-05/0.005398, allocations: 70.94 kB / 0.639 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.005431, allocations: 19.88 kB / 0.639 GB, free: 8.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.768e-05/0.005463, allocations: 0 / 0.639 GB, free: 8.066 MB / 462.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.0005278/0.005995, allocations: 454.9 kB / 0.6394 GB, free: 7.52 MB / 462.1 MB Notification: Performance of FunctionAlias: time 7.653e-05/0.00608, allocations: 27.91 kB / 0.6395 GB, free: 7.492 MB / 462.1 MB Notification: Performance of Early Inline: time 0.0001937/0.00628, allocations: 208.2 kB / 0.6397 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simplify1: time 4.115e-05/0.006327, allocations: 27.97 kB / 0.6397 GB, free: 7.234 MB / 462.1 MB Notification: Performance of Alias: time 0.0004602/0.006792, allocations: 289.9 kB / 0.64 GB, free: 6.875 MB / 462.1 MB Notification: Performance of simplify2: time 2.711e-05/0.006829, allocations: 19.97 kB / 0.64 GB, free: 6.855 MB / 462.1 MB Notification: Performance of Events: time 0.000119/0.006953, allocations: 67.81 kB / 0.6401 GB, free: 6.789 MB / 462.1 MB Notification: Performance of Detect States: time 0.0001637/0.007123, allocations: 92.12 kB / 0.6401 GB, free: 6.684 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0001091/0.007242, allocations: 72.7 kB / 0.6402 GB, free: 6.605 MB / 462.1 MB Notification: Performance of Causalize: time 0.0003786/0.007627, allocations: 244.5 kB / 0.6404 GB, free: 6.359 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002507/0.007886, allocations: 220.2 kB / 0.6407 GB, free: 6.117 MB / 462.1 MB Notification: Performance of Inline: time 0.0003669/0.008259, allocations: 316.2 kB / 0.641 GB, free: 5.773 MB / 462.1 MB Notification: Performance of Partitioning: time 2.667e-05/0.008293, allocations: 20.12 kB / 0.641 GB, free: 5.746 MB / 462.1 MB Notification: Performance of Cleanup: time 2.226e-05/0.00832, allocations: 11.98 kB / 0.641 GB, free: 5.734 MB / 462.1 MB Notification: Performance of Causalize: time 0.0005187/0.008842, allocations: 365.6 kB / 0.6413 GB, free: 5.375 MB / 462.1 MB Notification: Performance of Tearing: time 1.487e-05/0.008866, allocations: 4 kB / 0.6413 GB, free: 5.371 MB / 462.1 MB Notification: Performance of Initialization: time 5.81e-07/0.008874, allocations: 4 kB / 0.6413 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Tearing: time 2.785e-06/0.008881, allocations: 0 / 0.6413 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Categorize: time 1.083e-05/0.008895, allocations: 0 / 0.6413 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Solve: time 0.0001045/0.009004, allocations: 43.89 kB / 0.6414 GB, free: 5.324 MB / 462.1 MB Notification: Performance of Jacobian: time 0.0002353/0.009246, allocations: 253.9 kB / 0.6416 GB, free: 5.039 MB / 462.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: ............................. 2 (2) {timeExtrema.y_max, timeExtrema.y_min} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_1, $SEV_0, $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: ........... 14 (scalar:14, 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 5e-05/0.009303, allocations: 20.78 kB / 0.6416 GB, free: 5.027 MB / 462.1 MB Notification: Performance of SimCode: time 0.0009417/0.01025, allocations: 0.9676 MB / 0.6426 GB, free: 4.027 MB / 462.1 MB Notification: Performance of Templates: time 0.003061/0.01332, allocations: 0.7684 MB / 0.6433 GB, free: 3.262 MB / 462.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat failed! " Variables in the reference:CPUtime,EventCounter,T.k1,T.k2,T.u1,T.u2,T.y,Time,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,timeExtrema.initOption,timeExtrema.samplingTime,timeExtrema.startTime,timeExtrema.u,timeExtrema.y_max,timeExtrema.y_min,timeExtrema.y_start[1],timeExtrema.y_start[2] Variables in the result:T.k1,T.k2,T.u1,T.u2,T.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,timeExtrema.initOption,timeExtrema.samplingTime,timeExtrema.startTime,timeExtrema.u,timeExtrema.y_max,timeExtrema.y_min,timeExtrema.y_start[1],timeExtrema.y_start[2]