Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.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.01561/0.01561, allocations: 1.754 MB / 20.6 MB, free: 1.152 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.001314/0.001314, allocations: 99.27 kB / 24.18 MB, free: 2.578 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.001704/0.001704, allocations: 210.2 kB / 27.9 MB, free: 3.902 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.408/1.408, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.001/1.001, allocations: 130.7 MB / 449.6 MB, free: 6.406 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.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",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.06911/0.06911, allocations: 20.99 MB / 0.6358 GB, free: 4.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.2233, allocations: 81.91 MB / 0.7158 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003274/0.2265, allocations: 2.111 MB / 0.7179 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.2274, allocations: 406.7 kB / 0.7183 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.2275, allocations: 7.938 kB / 0.7183 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.2276, allocations: 7.922 kB / 0.7183 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.2276, allocations: 11.86 kB / 0.7183 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.2281, allocations: 147 kB / 0.7184 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.2283, allocations: 83.77 kB / 0.7185 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.2283, allocations: 8 kB / 0.7185 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.2284, allocations: 35.91 kB / 0.7186 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.2285, allocations: 43.77 kB / 0.7186 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2285, allocations: 7.938 kB / 0.7186 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2287, allocations: 79.92 kB / 0.7187 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.2288, allocations: 15.98 kB / 0.7187 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.2288, allocations: 35.78 kB / 0.7187 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.229, allocations: 135.5 kB / 0.7189 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.229, allocations: 0 / 0.7189 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.229, allocations: 0 / 0.7189 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.229, allocations: 4 kB / 0.7189 GB, free: 15.61 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006439/0.2297, allocations: 345.8 kB / 0.7192 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2297, allocations: 8.031 kB / 0.7192 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.2297, allocations: 34.75 kB / 0.7192 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.2298, allocations: 16.88 kB / 0.7193 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.23, allocations: 134.4 kB / 0.7194 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.23, allocations: 30.27 kB / 0.7194 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.23, allocations: 12.38 kB / 0.7194 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.2304, allocations: 117.8 kB / 0.7195 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2304, allocations: 0 / 0.7195 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2304, allocations: 3.984 kB / 0.7195 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2304, allocations: 4 kB / 0.7196 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.2307, allocations: 103.9 kB / 0.7197 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.2313, allocations: 311.8 kB / 0.7199 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.2316, allocations: 106.5 kB / 0.72 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2318, allocations: 68.91 kB / 0.7201 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.2318, allocations: 4 kB / 0.7201 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2318, allocations: 34.56 kB / 0.7202 GB, free: 14.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2318, allocations: 0 / 0.7202 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006908/0.2325, allocations: 217.4 kB / 0.7204 GB, free: 13.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2326, allocations: 55.41 kB / 0.7204 GB, free: 13.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2327, allocations: 125.8 kB / 0.7205 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2327, allocations: 25.7 kB / 0.7206 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.2328, allocations: 104.1 kB / 0.7207 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.2328, allocations: 35.67 kB / 0.7207 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.2328, allocations: 25.72 kB / 0.7207 GB, free: 13.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.233, allocations: 322.8 kB / 0.721 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.2332, allocations: 59.94 kB / 0.7211 GB, free: 13.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.2334, allocations: 59.95 kB / 0.7211 GB, free: 13.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.2337, allocations: 132.7 kB / 0.7213 GB, free: 12.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2337, allocations: 3.938 kB / 0.7213 GB, free: 12.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004377/0.2342, allocations: 173.7 kB / 0.7214 GB, free: 12.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2342, allocations: 8 kB / 0.7214 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2342, allocations: 0 / 0.7214 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2342, allocations: 0 / 0.7214 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.2346, allocations: 67.86 kB / 0.7215 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2346, allocations: 0 / 0.7215 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.2348, allocations: 23.98 kB / 0.7215 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.2348, allocations: 0 / 0.7215 GB, free: 12.68 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 (10): * Single equations (assignments): 10 * 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.831e-05/0.2349, allocations: 121.8 kB / 0.7216 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2349, allocations: 7.953 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.2349, allocations: 12.38 kB / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2349, allocations: 0 / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2349, allocations: 0 / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.235, allocations: 0 / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.2352, allocations: 164.6 kB / 0.7218 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2352, allocations: 4 kB / 0.7218 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.2356, allocations: 67.92 kB / 0.7219 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2356, allocations: 0 / 0.7219 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2356, allocations: 4 kB / 0.7219 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2356, allocations: 3.938 kB / 0.7219 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2356, allocations: 4 kB / 0.7219 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.2363, allocations: 327.3 kB / 0.7222 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.2364, allocations: 7.984 kB / 0.7222 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2364, allocations: 0 / 0.7222 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2365, allocations: 23.97 kB / 0.7222 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.2365, allocations: 8.047 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2365, allocations: 4 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.2366, allocations: 105.5 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2366, allocations: 0 / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002729/0.2369, allocations: 31.88 kB / 0.7224 GB, free: 11.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * 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 (8): * Single equations (assignments): 8 * 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.00106/0.238, allocations: 0.888 MB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.2384, allocations: 135.8 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2384, allocations: 0 / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.2386, allocations: 68.28 kB / 0.7234 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.2389, allocations: 11.88 kB / 0.7235 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.2413, allocations: 1.722 MB / 0.7251 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.2413, allocations: 87.81 kB / 0.7252 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.42e-05/0.2414, allocations: 16.61 kB / 0.7252 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.2415, allocations: 23.44 kB / 0.7253 GB, free: 8.656 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2415, allocations: 0 / 0.7253 GB, free: 8.656 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.2712, allocations: 3.294 MB / 0.7285 GB, free: 5.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.88, allocations: 9.75 kB / 0.7285 GB, free: 5.465 MB / 0.545 GB " [Timeout remaining time 788] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & python3 -m fmpy simulate --output-file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.csv --start-time 0 --stop-time 10000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.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.testRandomGenerators2_res.csv. Warning: Get data of variable Time from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.csv failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 15.802562003955245]