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.01426/0.01426, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001581/0.001581, allocations: 104.5 kB / 24.18 MB, free: 2.184 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.001501/0.001501, allocations: 217.9 kB / 27.9 MB, free: 3.504 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.413/1.413, allocations: 230.6 MB / 262.1 MB, free: 5.844 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.04/1.04, allocations: 130.7 MB / 449.6 MB, free: 6.43 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.06459/0.06459, allocations: 20.98 MB / 0.6358 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.2328, allocations: 81.91 MB / 0.7158 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003729/0.2365, allocations: 2.308 MB / 0.7181 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2376, allocations: 0.4949 MB / 0.7186 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.2376, allocations: 0 / 0.7186 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.2377, allocations: 7.938 kB / 0.7186 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.2377, allocations: 15.81 kB / 0.7186 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.238, allocations: 55.86 kB / 0.7186 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.2382, allocations: 79.72 kB / 0.7187 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.2383, allocations: 15.98 kB / 0.7187 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2384, allocations: 39.84 kB / 0.7188 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.2385, allocations: 35.83 kB / 0.7188 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.2385, allocations: 8 kB / 0.7188 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.2386, allocations: 12 kB / 0.7188 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.2386, allocations: 19.92 kB / 0.7188 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.2387, allocations: 35.84 kB / 0.7189 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.2388, allocations: 83.58 kB / 0.719 GB, free: 15.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2388, allocations: 0 / 0.719 GB, free: 15.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2389, allocations: 0 / 0.719 GB, free: 15.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2389, allocations: 0 / 0.719 GB, free: 15.5 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.0006445/0.2395, allocations: 330 kB / 0.7193 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2395, allocations: 16.03 kB / 0.7193 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.2396, allocations: 38.73 kB / 0.7193 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.2397, allocations: 16.89 kB / 0.7193 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.24, allocations: 136.4 kB / 0.7195 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.24, allocations: 4.375 kB / 0.7195 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.24, allocations: 4.375 kB / 0.7195 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2403, allocations: 105.6 kB / 0.7196 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2403, allocations: 0 / 0.7196 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2403, allocations: 7.984 kB / 0.7196 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2403, allocations: 0 / 0.7196 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.2406, allocations: 75.92 kB / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.241, allocations: 275.8 kB / 0.7199 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.2416, allocations: 146.5 kB / 0.7201 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.2418, allocations: 52.81 kB / 0.7201 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.2418, allocations: 0 / 0.7201 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.2418, allocations: 34.56 kB / 0.7201 GB, free: 14.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.2418, allocations: 0 / 0.7201 GB, free: 14.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0006244/0.2425, allocations: 181.5 kB / 0.7203 GB, free: 13.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.2425, allocations: 51.41 kB / 0.7204 GB, free: 13.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2426, allocations: 137.8 kB / 0.7205 GB, free: 13.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2426, allocations: 25.7 kB / 0.7205 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.2427, allocations: 96.12 kB / 0.7206 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.2427, allocations: 23.78 kB / 0.7206 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.2428, allocations: 21.72 kB / 0.7207 GB, free: 13.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2429, allocations: 326.7 kB / 0.721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.2431, allocations: 47.95 kB / 0.721 GB, free: 13.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2433, allocations: 47.95 kB / 0.7211 GB, free: 13.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.2436, allocations: 96.77 kB / 0.7211 GB, free: 13.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2436, allocations: 3.938 kB / 0.7212 GB, free: 13.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003845/0.244, allocations: 141.6 kB / 0.7213 GB, free: 12.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.244, allocations: 5.719 kB / 0.7213 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.244, allocations: 0 / 0.7213 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.244, allocations: 4 kB / 0.7213 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2441, allocations: 23.97 kB / 0.7213 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2441, allocations: 256 / 0.7213 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.432e-05/0.2442, allocations: 19.91 kB / 0.7213 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2442, allocations: 12 kB / 0.7213 GB, free: 12.85 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.115e-05/0.2443, allocations: 113.8 kB / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.2444, allocations: 7.953 kB / 0.7215 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.2444, allocations: 16.33 kB / 0.7215 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2444, allocations: 0 / 0.7215 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2444, allocations: 4 kB / 0.7215 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2444, allocations: 3.938 kB / 0.7215 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2446, allocations: 148.7 kB / 0.7216 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2446, allocations: 0 / 0.7216 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.2447, allocations: 27.97 kB / 0.7217 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2447, allocations: 0 / 0.7217 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2447, allocations: 4 kB / 0.7217 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2447, allocations: 0 / 0.7217 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2447, allocations: 0 / 0.7217 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.2454, allocations: 299.3 kB / 0.7219 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.2454, allocations: 7.891 kB / 0.722 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2454, allocations: 0 / 0.722 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2455, allocations: 19.98 kB / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.2456, allocations: 7.922 kB / 0.722 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2456, allocations: 7.938 kB / 0.722 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.968e-05/0.2456, allocations: 103.2 kB / 0.7221 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2456, allocations: 0 / 0.7221 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002233/0.2459, allocations: 12 kB / 0.7221 GB, free: 12 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.000902/0.2468, allocations: 0.8064 MB / 0.7229 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.2472, allocations: 115.8 kB / 0.723 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2472, allocations: 0 / 0.723 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.2473, allocations: 52.08 kB / 0.723 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.2476, allocations: 9.938 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.2498, allocations: 1.652 MB / 0.7247 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.688e-05/0.2499, allocations: 75.89 kB / 0.7247 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.228e-05/0.2499, allocations: 7.984 kB / 0.7247 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.25, allocations: 19.44 kB / 0.7248 GB, free: 9.141 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.25, allocations: 4 kB / 0.7248 GB, free: 9.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.2791, allocations: 2.693 MB / 0.7274 GB, free: 6.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.7, allocations: 7.875 kB / 0.7274 GB, free: 6.539 MB / 0.545 GB " [Timeout remaining time 788] (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: 15.612490660045296]