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.005855/0.005855, allocations: 1.442 MB / 20.53 MB, free: 4.012 MB / 18.57 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.0006808/0.0006808, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007461/0.0007461, allocations: 162 kB / 27.86 MB, free: 5.086 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.8261/0.8261, allocations: 177.1 MB / 208.6 MB, free: 2.988 MB / 186.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.6809/0.6809, allocations: 102.5 MB / 367.9 MB, free: 1.508 MB / 330.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 0.5.2 (/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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5362 GB, free: 40.06 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.841e-05, allocations: 4.578 kB / 0.5362 GB, free: 40.06 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003002/0.003021, allocations: 2.299 MB / 0.5384 GB, free: 38.48 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.003972, allocations: 0.5047 MB / 0.5389 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.00404, allocations: 1.312 kB / 0.5389 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.004094, allocations: 4.688 kB / 0.5389 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 7.913e-05/0.004173, allocations: 18.75 kB / 0.539 GB, free: 38.12 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.004496, allocations: 50.05 kB / 0.539 GB, free: 38.1 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.004663, allocations: 87.38 kB / 0.5391 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004772, allocations: 13.11 kB / 0.5391 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.004967, allocations: 61.55 kB / 0.5392 GB, free: 38.02 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.005038, allocations: 28.72 kB / 0.5392 GB, free: 38.01 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.005062, allocations: 7 kB / 0.5392 GB, free: 38.01 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.005116, allocations: 10.12 kB / 0.5392 GB, free: 38.01 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.005164, allocations: 21.47 kB / 0.5392 GB, free: 38 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.005197, allocations: 23.38 kB / 0.5392 GB, free: 37.98 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.005353, allocations: 83.56 kB / 0.5393 GB, free: 37.95 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005356, allocations: 3.094 kB / 0.5393 GB, free: 37.95 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005357, allocations: 1.156 kB / 0.5393 GB, free: 37.95 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005362, allocations: 0 / 0.5393 GB, free: 37.95 MB / 490.8 MB 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.0005404/0.005902, allocations: 334.2 kB / 0.5396 GB, free: 37.66 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.005946, allocations: 8.406 kB / 0.5396 GB, free: 37.66 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.005979, allocations: 36.22 kB / 0.5397 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.006116, allocations: 20.36 kB / 0.5397 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.006295, allocations: 139.6 kB / 0.5398 GB, free: 37.46 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.006319, allocations: 3.219 kB / 0.5398 GB, free: 37.46 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.006344, allocations: 13.56 kB / 0.5399 GB, free: 37.46 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.006606, allocations: 92.97 kB / 0.5399 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.006618, allocations: 2.719 kB / 0.5399 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.00663, allocations: 4.125 kB / 0.5399 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.006636, allocations: 1.281 kB / 0.5399 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.006882, allocations: 78.73 kB / 0.54 GB, free: 37.39 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.007293, allocations: 272.8 kB / 0.5403 GB, free: 37.14 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.007838, allocations: 153.7 kB / 0.5404 GB, free: 37.09 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.007989, allocations: 52.89 kB / 0.5405 GB, free: 37.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.008011, allocations: 5.719 kB / 0.5405 GB, free: 37.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.008023, allocations: 32.16 kB / 0.5405 GB, free: 37.04 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.008025, allocations: 0 / 0.5405 GB, free: 37.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=5): time 0.0005504/0.008575, allocations: 172 kB / 0.5407 GB, free: 36.98 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.008602, allocations: 56.78 kB / 0.5407 GB, free: 36.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.008688, allocations: 135.5 kB / 0.5409 GB, free: 36.8 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.008698, allocations: 25.7 kB / 0.5409 GB, free: 36.77 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.008737, allocations: 99.11 kB / 0.541 GB, free: 36.68 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.008764, allocations: 22.52 kB / 0.541 GB, free: 36.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.008811, allocations: 22.78 kB / 0.541 GB, free: 36.64 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.008855, allocations: 322.4 kB / 0.5413 GB, free: 36.32 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.009021, allocations: 48.75 kB / 0.5414 GB, free: 36.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.009159, allocations: 49.12 kB / 0.5414 GB, free: 36.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.00941, allocations: 100.1 kB / 0.5415 GB, free: 36.28 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.009412, allocations: 1.188 kB / 0.5415 GB, free: 36.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002199/0.009632, allocations: 141.3 kB / 0.5417 GB, free: 36.22 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.009645, allocations: 7.844 kB / 0.5417 GB, free: 36.22 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.00965, allocations: 6.812 kB / 0.5417 GB, free: 36.22 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.009663, allocations: 1.125 kB / 0.5417 GB, free: 36.22 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.009745, allocations: 29.95 kB / 0.5417 GB, free: 36.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00975, allocations: 0 / 0.5417 GB, free: 36.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.0098, allocations: 20.38 kB / 0.5417 GB, free: 36.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.009808, allocations: 2.312 kB / 0.5417 GB, free: 36.21 MB / 490.8 MB 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 4.554e-05/0.009853, allocations: 118.2 kB / 0.5418 GB, free: 36.09 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.009869, allocations: 6.859 kB / 0.5418 GB, free: 36.09 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.009891, allocations: 16.41 kB / 0.5419 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.009893, allocations: 0 / 0.5419 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.009897, allocations: 3.938 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.009901, allocations: 6.547 kB / 0.5419 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.01, allocations: 153.3 kB / 0.542 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.01, allocations: 1.031 kB / 0.542 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.01008, allocations: 25 kB / 0.542 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01008, allocations: 2.062 kB / 0.542 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01009, allocations: 1.219 kB / 0.542 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.01009, allocations: 0 / 0.542 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01009, allocations: 2 kB / 0.542 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01044, allocations: 291.9 kB / 0.5423 GB, free: 35.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-06/0.01045, allocations: 10.95 kB / 0.5423 GB, free: 35.72 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.01046, allocations: 8.875 kB / 0.5423 GB, free: 35.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.01052, allocations: 11.42 kB / 0.5424 GB, free: 35.71 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.01056, allocations: 6.203 kB / 0.5424 GB, free: 35.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.01057, allocations: 8.156 kB / 0.5424 GB, free: 35.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.0106, allocations: 103.8 kB / 0.5425 GB, free: 35.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 0 / 0.5425 GB, free: 35.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001531/0.01075, allocations: 10.59 kB / 0.5425 GB, free: 35.63 MB / 490.8 MB 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.0004182/0.01117, allocations: 0.8204 MB / 0.5433 GB, free: 34.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.0114, allocations: 101.8 kB / 0.5434 GB, free: 34.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01141, allocations: 1.312 kB / 0.5434 GB, free: 34.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.0115, allocations: 54.31 kB / 0.5434 GB, free: 34.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.01169, allocations: 10.91 kB / 0.5434 GB, free: 34.89 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.01287, allocations: 1.634 MB / 0.545 GB, free: 33.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.01292, allocations: 79.48 kB / 0.5451 GB, free: 33.52 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.01296, allocations: 5.125 kB / 0.5451 GB, free: 33.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.013, allocations: 25.7 kB / 0.5451 GB, free: 33.5 MB / 490.8 MB Notification: Performance of SimCode: time 7.22e-07/0.013, allocations: 0.6875 kB / 0.5451 GB, free: 33.5 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.02939, allocations: 2.811 MB / 0.5479 GB, free: 32.54 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.292, allocations: 3.734 kB / 0.5479 GB, free: 32.54 MB / 490.8 MB " [Timeout remaining time 793] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins/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: 9.974582113325596]