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.01458/0.01458, 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.001679/0.001679, allocations: 105.8 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.001665/0.001665, 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.415/1.415, 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.051/1.051, allocations: 130.7 MB / 449.7 MB, free: 6.57 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.03105/0.03105, allocations: 20.79 MB / 0.6357 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1982, allocations: 81.91 MB / 0.7157 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003391/0.2016, allocations: 2.137 MB / 0.7178 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000879/0.2024, allocations: 446.5 kB / 0.7182 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.2025, allocations: 0 / 0.7182 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2026, allocations: 7.875 kB / 0.7182 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.2026, allocations: 15.86 kB / 0.7183 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.2032, allocations: 131.7 kB / 0.7184 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.2033, allocations: 87.7 kB / 0.7185 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.448e-05/0.2034, allocations: 11.98 kB / 0.7185 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.2034, allocations: 31.91 kB / 0.7185 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.2035, allocations: 47.77 kB / 0.7186 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.2036, allocations: 8 kB / 0.7186 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.2037, allocations: 91.78 kB / 0.7187 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.2038, allocations: 19.98 kB / 0.7187 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.2039, allocations: 35.8 kB / 0.7187 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.2041, allocations: 135.5 kB / 0.7188 GB, free: 15.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2041, allocations: 0 / 0.7188 GB, free: 15.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2041, allocations: 0 / 0.7188 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2041, allocations: 0 / 0.7188 GB, free: 15.92 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.0006882/0.2048, allocations: 361.8 kB / 0.7192 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2048, allocations: 8.031 kB / 0.7192 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.2049, allocations: 34.75 kB / 0.7192 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2049, allocations: 8.891 kB / 0.7192 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2051, allocations: 142.3 kB / 0.7194 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.2052, allocations: 30.27 kB / 0.7194 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.2052, allocations: 8.375 kB / 0.7194 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.2055, allocations: 117.9 kB / 0.7195 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2055, allocations: 0 / 0.7195 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2055, allocations: 0 / 0.7195 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.2055, allocations: 4 kB / 0.7195 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.2059, allocations: 99.89 kB / 0.7196 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.2065, allocations: 327.7 kB / 0.7199 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.2068, allocations: 98.52 kB / 0.72 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.207, allocations: 76.94 kB / 0.7201 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.207, allocations: 0 / 0.7201 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2071, allocations: 38.5 kB / 0.7201 GB, free: 14.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.2071, allocations: 0 / 0.7201 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007023/0.2078, allocations: 217.5 kB / 0.7203 GB, free: 14.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2078, allocations: 55.41 kB / 0.7204 GB, free: 14.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2079, allocations: 132.6 kB / 0.7205 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2079, allocations: 25.7 kB / 0.7205 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.208, allocations: 96.09 kB / 0.7206 GB, free: 13.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.208, allocations: 31.73 kB / 0.7207 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.2081, allocations: 29.7 kB / 0.7207 GB, free: 13.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2083, allocations: 318.8 kB / 0.721 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.2085, allocations: 63.94 kB / 0.7211 GB, free: 13.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.2086, allocations: 63.88 kB / 0.7211 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.209, allocations: 132.9 kB / 0.7212 GB, free: 13.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.209, allocations: 0 / 0.7212 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004523/0.2095, allocations: 173.6 kB / 0.7214 GB, free: 13.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2095, allocations: 11.94 kB / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2095, allocations: 0 / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2095, allocations: 0 / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.2099, allocations: 67.92 kB / 0.7215 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.2099, allocations: 0 / 0.7215 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.21, allocations: 19.91 kB / 0.7215 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.21, allocations: 12 kB / 0.7215 GB, free: 12.97 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 0.0001088/0.2102, allocations: 121.7 kB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.2102, allocations: 7.953 kB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2102, allocations: 8.375 kB / 0.7217 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2102, allocations: 7.984 kB / 0.7217 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2102, allocations: 0 / 0.7217 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2102, allocations: 0 / 0.7217 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2105, allocations: 172.6 kB / 0.7218 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2105, allocations: 0 / 0.7218 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.2109, allocations: 67.92 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2109, allocations: 0 / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2109, allocations: 4 kB / 0.7219 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2109, allocations: 0 / 0.7219 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2109, allocations: 0 / 0.7219 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.2116, allocations: 339.2 kB / 0.7222 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.2117, allocations: 7.953 kB / 0.7222 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.2117, allocations: 4.031 kB / 0.7222 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2118, allocations: 16.05 kB / 0.7222 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.2118, allocations: 7.984 kB / 0.7222 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.2119, allocations: 8.078 kB / 0.7223 GB, free: 12.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.2119, allocations: 99.2 kB / 0.7224 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2119, allocations: 0 / 0.7224 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000301/0.2122, allocations: 35.88 kB / 0.7224 GB, free: 12.01 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.0011/0.2133, allocations: 0.8841 MB / 0.7232 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.2138, allocations: 124 kB / 0.7234 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2138, allocations: 0 / 0.7234 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.214, allocations: 71.88 kB / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.2143, allocations: 15.94 kB / 0.7235 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.2167, allocations: 1.721 MB / 0.7251 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.2171, allocations: 0.6963 MB / 0.7258 GB, free: 8.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.414e-05/0.2172, allocations: 12.61 kB / 0.7258 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.2172, allocations: 31.42 kB / 0.7259 GB, free: 8.32 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2172, allocations: 0 / 0.7259 GB, free: 8.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.2469, allocations: 2.895 MB / 0.7287 GB, free: 5.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.88, allocations: 9.016 kB / 0.7287 GB, free: 5.527 MB / 0.545 GB " [Timeout remaining time 789] (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: 14.855137352002203]