Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.0147/0.0147, allocations: 1.761 MB / 20.59 MB, free: 1.285 MB / 14.72 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.001238/0.001238, allocations: 109.6 kB / 24.19 MB, free: 2.688 MB / 14.72 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.001486/0.001486, allocations: 206.6 kB / 27.92 MB, free: 4.027 MB / 19.63 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 1.406/1.406, allocations: 230.6 MB / 262.1 MB, free: 6 MB / 206.1 MB " [Timeout remaining time 178] 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 1.045/1.045, allocations: 130.7 MB / 449.7 MB, free: 6.789 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: 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: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.02992/0.02992, allocations: 20.78 MB / 0.6357 GB, free: 5.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1875, allocations: 81.92 MB / 0.7157 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003644/0.1912, allocations: 2.315 MB / 0.718 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1922, allocations: 0.5415 MB / 0.7185 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.1922, allocations: 0 / 0.7185 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.986e-05/0.1923, allocations: 15.86 kB / 0.7185 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.1924, allocations: 7.875 kB / 0.7185 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1927, allocations: 51.88 kB / 0.7186 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1928, allocations: 79.77 kB / 0.7187 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1929, allocations: 15.98 kB / 0.7187 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1931, allocations: 47.78 kB / 0.7187 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.1932, allocations: 39.84 kB / 0.7188 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1932, allocations: 4 kB / 0.7188 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.001e-05/0.1932, allocations: 11.98 kB / 0.7188 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1933, allocations: 19.92 kB / 0.7188 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.1933, allocations: 35.8 kB / 0.7188 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1935, allocations: 87.58 kB / 0.7189 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1935, allocations: 4 kB / 0.7189 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1935, allocations: 3.938 kB / 0.7189 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1935, allocations: 0 / 0.7189 GB, free: 15.86 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006361/0.1941, allocations: 333.9 kB / 0.7192 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1942, allocations: 8.031 kB / 0.7193 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1942, allocations: 38.75 kB / 0.7193 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1944, allocations: 24.88 kB / 0.7193 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1946, allocations: 134.4 kB / 0.7194 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1946, allocations: 384 / 0.7194 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1946, allocations: 8.375 kB / 0.7195 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.1949, allocations: 97.73 kB / 0.7195 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1949, allocations: 0 / 0.7195 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1949, allocations: 7.984 kB / 0.7196 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1949, allocations: 0 / 0.7196 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1952, allocations: 75.88 kB / 0.7196 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1957, allocations: 299.7 kB / 0.7199 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.1962, allocations: 150.5 kB / 0.7201 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.1964, allocations: 48.81 kB / 0.7201 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1964, allocations: 4 kB / 0.7201 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1964, allocations: 34.56 kB / 0.7201 GB, free: 14.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1964, allocations: 0 / 0.7201 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0006171/0.1971, allocations: 177.5 kB / 0.7203 GB, free: 14.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1971, allocations: 55.34 kB / 0.7204 GB, free: 14.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1972, allocations: 131.5 kB / 0.7205 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1972, allocations: 25.7 kB / 0.7205 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.1973, allocations: 100.1 kB / 0.7206 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1973, allocations: 23.73 kB / 0.7206 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.1974, allocations: 21.7 kB / 0.7206 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1975, allocations: 326.8 kB / 0.721 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1977, allocations: 43.95 kB / 0.721 GB, free: 13.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1978, allocations: 51.94 kB / 0.7211 GB, free: 13.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.1982, allocations: 100.8 kB / 0.7211 GB, free: 13.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1982, allocations: 0 / 0.7211 GB, free: 13.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003705/0.1985, allocations: 137.5 kB / 0.7213 GB, free: 13.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1985, allocations: 5.875 kB / 0.7213 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1985, allocations: 7.984 kB / 0.7213 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1986, allocations: 4 kB / 0.7213 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1987, allocations: 23.92 kB / 0.7213 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1987, allocations: 0 / 0.7213 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.1988, allocations: 27.91 kB / 0.7213 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1988, allocations: 0 / 0.7213 GB, free: 13.2 MB / 0.545 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 9.005e-05/0.1989, allocations: 113.8 kB / 0.7215 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1989, allocations: 11.95 kB / 0.7215 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.199, allocations: 12.39 kB / 0.7215 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.199, allocations: 4 kB / 0.7215 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.199, allocations: 0 / 0.7215 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.199, allocations: 3.938 kB / 0.7215 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.1992, allocations: 156.7 kB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1992, allocations: 4 kB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1993, allocations: 20.22 kB / 0.7217 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1993, allocations: 4 kB / 0.7217 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1993, allocations: 7.938 kB / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1993, allocations: 4 kB / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1993, allocations: 0 / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.1999, allocations: 291.2 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.1999, allocations: 7.984 kB / 0.722 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1999, allocations: 0 / 0.722 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2001, allocations: 19.98 kB / 0.722 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.2001, allocations: 3.984 kB / 0.722 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2001, allocations: 3.938 kB / 0.722 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.2002, allocations: 107.2 kB / 0.7221 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2002, allocations: 0 / 0.7221 GB, free: 12.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000218/0.2004, allocations: 20 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * 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 (5): * Single equations (assignments): 5 * 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.0008775/0.2013, allocations: 0.8138 MB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003954/0.2017, allocations: 99.91 kB / 0.723 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2017, allocations: 0 / 0.723 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2019, allocations: 55.95 kB / 0.723 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2021, allocations: 13.5 kB / 0.7231 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.2044, allocations: 1.644 MB / 0.7247 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.2047, allocations: 0.6904 MB / 0.7253 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.783e-05/0.2047, allocations: 11.98 kB / 0.7254 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.2048, allocations: 19.44 kB / 0.7254 GB, free: 8.867 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2048, allocations: 0 / 0.7254 GB, free: 8.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.234, allocations: 2.274 MB / 0.7276 GB, free: 6.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.68, allocations: 6.281 kB / 0.7276 GB, free: 6.688 MB / 0.545 GB " [Timeout remaining time 789] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & python3 -m fmpy simulate --output-file ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.csv --start-time 0 --stop-time 300 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 ClaRa_ClaRa_Components_Utilities_Blocks_Check_TestMinMax.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable Time in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.csv. Warning: Get data of variable Time from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.csv failed! " [Timeout remaining time 800] "" Variables in the reference:Time,timeExtrema.ymax,timeExtrema.ymin Variables in the result:time,timeExtrema.ymax,timeExtrema.ymin [Calling sys.exit(0), Time elapsed: 14.597815940000146]