Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.0105/0.0105, allocations: 2.332 MB / 21.18 MB, free: 3.531 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007076/0.0007076, allocations: 124.5 kB / 24.89 MB, free: 236 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009062/0.0009062, allocations: 221.8 kB / 28.73 MB, free: 1.043 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9411/0.9411, allocations: 230.6 MB / 263 MB, free: 6.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7354/0.7354, allocations: 130.7 MB / 450.7 MB, free: 9.816 MB / 346.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03146/0.03146, allocations: 29.95 MB / 0.6466 GB, free: 27.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1455, allocations: 82.05 MB / 0.7267 GB, free: 11.79 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.00258/0.148, allocations: 2.254 MB / 0.7289 GB, free: 9.516 MB / 0.5418 GB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.1488, allocations: 0.6661 MB / 0.7296 GB, free: 8.844 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.1489, allocations: 0 / 0.7296 GB, free: 8.844 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.149, allocations: 19.8 kB / 0.7296 GB, free: 8.824 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.149, allocations: 19.8 kB / 0.7296 GB, free: 8.805 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.1493, allocations: 115.7 kB / 0.7297 GB, free: 8.691 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1494, allocations: 91.7 kB / 0.7298 GB, free: 8.602 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.1495, allocations: 13.31 kB / 0.7298 GB, free: 8.59 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.1496, allocations: 47.77 kB / 0.7299 GB, free: 8.543 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.1496, allocations: 39.78 kB / 0.7299 GB, free: 8.504 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1496, allocations: 4 kB / 0.7299 GB, free: 8.5 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.1497, allocations: 8 kB / 0.7299 GB, free: 8.492 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.1497, allocations: 19.92 kB / 0.7299 GB, free: 8.473 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.1497, allocations: 31.8 kB / 0.73 GB, free: 8.441 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1498, allocations: 87.58 kB / 0.7301 GB, free: 8.355 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1498, allocations: 3.984 kB / 0.7301 GB, free: 8.352 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1498, allocations: 0 / 0.7301 GB, free: 8.352 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1498, allocations: 4 kB / 0.7301 GB, free: 8.348 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004607/0.1503, allocations: 353.8 kB / 0.7304 GB, free: 7.973 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1503, allocations: 8.031 kB / 0.7304 GB, free: 7.965 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.1504, allocations: 38.75 kB / 0.7305 GB, free: 7.918 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.1504, allocations: 12.84 kB / 0.7305 GB, free: 7.906 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1505, allocations: 138.9 kB / 0.7306 GB, free: 7.746 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1505, allocations: 12.31 kB / 0.7306 GB, free: 7.734 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.1506, allocations: 15.92 kB / 0.7306 GB, free: 7.719 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1507, allocations: 101.6 kB / 0.7307 GB, free: 7.613 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1508, allocations: 3.984 kB / 0.7307 GB, free: 7.609 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1508, allocations: 4 kB / 0.7307 GB, free: 7.605 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1508, allocations: 4 kB / 0.7307 GB, free: 7.602 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.151, allocations: 99.84 kB / 0.7308 GB, free: 7.504 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1514, allocations: 319.8 kB / 0.7311 GB, free: 7.148 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1515, allocations: 78.45 kB / 0.7312 GB, free: 7.062 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.1516, allocations: 56.94 kB / 0.7313 GB, free: 7.004 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1516, allocations: 4 kB / 0.7313 GB, free: 7 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.1516, allocations: 30.56 kB / 0.7313 GB, free: 6.961 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.1516, allocations: 0 / 0.7313 GB, free: 6.961 MB / 0.5418 GB Notification: Performance of matching and sorting (n=6): time 0.0003913/0.152, allocations: 201.4 kB / 0.7315 GB, free: 6.758 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1521, allocations: 51.41 kB / 0.7315 GB, free: 6.695 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.1521, allocations: 146.9 kB / 0.7317 GB, free: 6.539 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.1522, allocations: 25.7 kB / 0.7317 GB, free: 6.508 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.1522, allocations: 108 kB / 0.7318 GB, free: 6.398 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1522, allocations: 31.72 kB / 0.7318 GB, free: 6.367 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1523, allocations: 17.72 kB / 0.7318 GB, free: 6.344 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.1523, allocations: 322.8 kB / 0.7322 GB, free: 6.02 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.963e-05/0.1524, allocations: 52.2 kB / 0.7322 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.1525, allocations: 51.94 kB / 0.7323 GB, free: 5.918 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1527, allocations: 100.8 kB / 0.7324 GB, free: 5.816 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1527, allocations: 8 kB / 0.7324 GB, free: 5.809 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002246/0.1529, allocations: 145.7 kB / 0.7325 GB, free: 5.66 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.153, allocations: 11.94 kB / 0.7325 GB, free: 5.648 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.153, allocations: 0 / 0.7325 GB, free: 5.648 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.153, allocations: 0 / 0.7325 GB, free: 5.648 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.1531, allocations: 31.91 kB / 0.7325 GB, free: 5.617 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1531, allocations: 0 / 0.7325 GB, free: 5.617 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.1531, allocations: 19.94 kB / 0.7326 GB, free: 5.598 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1531, allocations: 3.984 kB / 0.7326 GB, free: 5.594 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.1532, allocations: 117.8 kB / 0.7327 GB, free: 5.469 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.1532, allocations: 15.83 kB / 0.7327 GB, free: 5.453 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.1533, allocations: 16.72 kB / 0.7327 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1533, allocations: 0 / 0.7327 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1533, allocations: 4 kB / 0.7327 GB, free: 5.434 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1533, allocations: 4 kB / 0.7327 GB, free: 5.43 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1534, allocations: 160.7 kB / 0.7329 GB, free: 5.23 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1534, allocations: 0 / 0.7329 GB, free: 5.23 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.1535, allocations: 27.97 kB / 0.7329 GB, free: 5.203 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1535, allocations: 3.938 kB / 0.7329 GB, free: 5.199 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1535, allocations: 0 / 0.7329 GB, free: 5.199 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1535, allocations: 4 kB / 0.7329 GB, free: 5.195 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1535, allocations: 3.938 kB / 0.7329 GB, free: 5.191 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.1539, allocations: 303.3 kB / 0.7332 GB, free: 4.879 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.1539, allocations: 11.92 kB / 0.7332 GB, free: 4.867 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1539, allocations: 0 / 0.7332 GB, free: 4.867 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.1539, allocations: 20.03 kB / 0.7332 GB, free: 4.848 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.154, allocations: 11.98 kB / 0.7332 GB, free: 4.836 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.154, allocations: 4 kB / 0.7332 GB, free: 4.832 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 4.606e-05/0.154, allocations: 103.3 kB / 0.7333 GB, free: 4.73 MB / 0.5418 GB Notification: Performance of sort global known variables: time 5.1e-08/0.154, allocations: 0 / 0.7333 GB, free: 4.73 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0001504/0.1542, allocations: 15.94 kB / 0.7334 GB, free: 4.715 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (variableGradientLimiter.y_aux) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007668/0.155, allocations: 0.8412 MB / 0.7342 GB, free: 3.848 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.1552, allocations: 103.9 kB / 0.7343 GB, free: 3.746 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1552, allocations: 0 / 0.7343 GB, free: 3.746 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1553, allocations: 67.88 kB / 0.7343 GB, free: 3.68 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1555, allocations: 14.23 kB / 0.7344 GB, free: 3.668 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.157, allocations: 1.682 MB / 0.736 GB, free: 1.91 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.206e-05/0.1571, allocations: 95.98 kB / 0.7361 GB, free: 1.797 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 3.897e-05/0.1571, allocations: 7.75 kB / 0.7361 GB, free: 1.789 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.1572, allocations: 35.42 kB / 0.7361 GB, free: 1.754 MB / 0.5418 GB Notification: Performance of SimCode: time 6.41e-07/0.1572, allocations: 0 / 0.7361 GB, free: 1.754 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07252/0.2297, allocations: 3.161 MB / 0.7392 GB, free: 14.67 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.168, allocations: 10.92 kB / 0.7392 GB, free: 14.66 MB / 0.5574 GB " [Timeout remaining time 793] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat --stripRoot --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --mode=me --timeout=240 --tolerance=1e-06 ../ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter.fmu) > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat failed! Error: Could not read variable variableGradientLimiter.maxGrad_ in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat. Warning: Get data of variable variableGradientLimiter.maxGrad_ from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat failed! Error: Could not read variable variableGradientLimiter.minGrad_ in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat. Warning: Get data of variable variableGradientLimiter.minGrad_ from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat failed! " [Timeout remaining time 800] Reference file matches (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --mode=cs --timeout=240 --tolerance=1e-06 ../ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter_OMSimulator-cs-cvode.fmu) > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable variableGradientLimiter.maxGrad_ in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable variableGradientLimiter.maxGrad_ from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable variableGradientLimiter.minGrad_ in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable variableGradientLimiter.minGrad_ from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-cvode_res.mat failed! " [Timeout remaining time 800] Reference file matches (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --mode=cs --timeout=240 --tolerance=1e-06 ../ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter_OMSimulator-cs-euler.fmu) > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable variableGradientLimiter.maxGrad_ in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat. Warning: Get data of variable variableGradientLimiter.maxGrad_ from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable variableGradientLimiter.minGrad_ in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat. Warning: Get data of variable variableGradientLimiter.minGrad_ from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_OMSimulator-cs-euler_res.mat failed! " [Timeout remaining time 800] Reference file matches (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy_res.csv --output-variables 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 'der(variableGradientLimiter.y_aux)' variableGradientLimiter.maxGrad variableGradientLimiter.maxGrad_ variableGradientLimiter.maxGrad_const variableGradientLimiter.minGrad variableGradientLimiter.minGrad_ variableGradientLimiter.minGrad_const variableGradientLimiter.thres variableGradientLimiter.u variableGradientLimiter.useThresh variableGradientLimiter.y variableGradientLimiter.y_aux --start-time 0 --stop-time 100 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../ClaRa_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter.fmu) > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Failed to open simulation result ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy_res.csv: Error: Error opening file: ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy_res.csv " [Timeout remaining time 800] "" Variables in the reference: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,der(variableGradientLimiter.y_aux),variableGradientLimiter.maxGrad,variableGradientLimiter.maxGrad_,variableGradientLimiter.maxGrad_const,variableGradientLimiter.minGrad,variableGradientLimiter.minGrad_,variableGradientLimiter.minGrad_const,variableGradientLimiter.thres,variableGradientLimiter.u,variableGradientLimiter.useThresh,variableGradientLimiter.y,variableGradientLimiter.y_aux Variables in the result: filterSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 800] "Error: Failed to open simulation result ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 800] Failed to write the differing variables of ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 800] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 800] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.873857432045043]