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.01609/0.01609, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.00193/0.00193, allocations: 103.6 kB / 24.97 MB, free: 2.035 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.002508/0.002508, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.46/1.46, allocations: 230.6 MB / 262.9 MB, free: 5.797 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.057/1.057, allocations: 130.7 MB / 450.4 MB, free: 6.395 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="cs",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.07012/0.07012, allocations: 20.61 MB / 0.6362 GB, free: 5.188 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.2342, allocations: 81.91 MB / 0.7162 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003333/0.2375, allocations: 2.109 MB / 0.7183 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.2384, allocations: 406.6 kB / 0.7187 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.2384, allocations: 4 kB / 0.7187 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2385, allocations: 11.88 kB / 0.7187 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/0.2386, allocations: 7.922 kB / 0.7187 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.2391, allocations: 143 kB / 0.7188 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.2393, allocations: 75.83 kB / 0.7189 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.2394, allocations: 15.97 kB / 0.7189 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.2394, allocations: 43.78 kB / 0.719 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.2395, allocations: 47.77 kB / 0.719 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2395, allocations: 4 kB / 0.719 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2397, allocations: 83.94 kB / 0.7191 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.2398, allocations: 27.89 kB / 0.7191 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.2399, allocations: 27.86 kB / 0.7191 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2401, allocations: 139.4 kB / 0.7193 GB, free: 48 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2401, allocations: 0 / 0.7193 GB, free: 48 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2401, allocations: 0 / 0.7193 GB, free: 48 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2401, allocations: 0 / 0.7193 GB, free: 48 kB / 0.5294 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.0007409/0.2408, allocations: 346 kB / 0.7196 GB, free: 15.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2409, allocations: 12.03 kB / 0.7196 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.284e-05/0.2409, allocations: 192 / 0.7196 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.2409, allocations: 42.75 kB / 0.7197 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.241, allocations: 8.891 kB / 0.7197 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.2412, allocations: 134.4 kB / 0.7198 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.2412, allocations: 38.27 kB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.2412, allocations: 8.312 kB / 0.7198 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2416, allocations: 109.7 kB / 0.7199 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2416, allocations: 0 / 0.7199 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2416, allocations: 8 kB / 0.72 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2416, allocations: 0 / 0.72 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.242, allocations: 103.8 kB / 0.7201 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.2426, allocations: 315.7 kB / 0.7204 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.2428, allocations: 106.7 kB / 0.7205 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.243, allocations: 64.8 kB / 0.7205 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2431, allocations: 0 / 0.7205 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2431, allocations: 30.56 kB / 0.7205 GB, free: 14.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.2431, allocations: 0 / 0.7205 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007025/0.2438, allocations: 225.4 kB / 0.7208 GB, free: 14.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2438, allocations: 51.41 kB / 0.7208 GB, free: 14.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2439, allocations: 131.8 kB / 0.7209 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.244, allocations: 25.7 kB / 0.721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.244, allocations: 100.1 kB / 0.7211 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.2441, allocations: 27.75 kB / 0.7211 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.2441, allocations: 29.7 kB / 0.7211 GB, free: 13.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2443, allocations: 322.8 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2445, allocations: 55.95 kB / 0.7215 GB, free: 13.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2446, allocations: 67.88 kB / 0.7215 GB, free: 13.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.245, allocations: 132.7 kB / 0.7217 GB, free: 13.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.245, allocations: 0 / 0.7217 GB, free: 13.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004543/0.2455, allocations: 169.5 kB / 0.7218 GB, free: 13.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2455, allocations: 4 kB / 0.7218 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2455, allocations: 0 / 0.7218 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.2455, allocations: 7.984 kB / 0.7218 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.246, allocations: 63.94 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.246, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.2461, allocations: 15.97 kB / 0.7219 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2461, allocations: 7.938 kB / 0.7219 GB, free: 13.13 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.0001023/0.2462, allocations: 122 kB / 0.722 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.2462, allocations: 11.89 kB / 0.722 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.2463, allocations: 12.36 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2463, allocations: 4 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2463, allocations: 0 / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2463, allocations: 3.984 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2465, allocations: 160.6 kB / 0.7222 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2465, allocations: 0 / 0.7222 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.2469, allocations: 71.86 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.247, allocations: 4 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.247, allocations: 8 kB / 0.7223 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.247, allocations: 0 / 0.7223 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.247, allocations: 0 / 0.7223 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.2477, allocations: 343.5 kB / 0.7226 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.2477, allocations: 7.984 kB / 0.7226 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.2477, allocations: 0 / 0.7226 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2478, allocations: 15.92 kB / 0.7226 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2479, allocations: 11.98 kB / 0.7227 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.2479, allocations: 0 / 0.7227 GB, free: 12.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.199e-05/0.248, allocations: 109.1 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.248, allocations: 0 / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002889/0.2483, allocations: 35.94 kB / 0.7228 GB, free: 12.16 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.001066/0.2493, allocations: 0.8807 MB / 0.7237 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.2498, allocations: 128 kB / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2498, allocations: 0 / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.25, allocations: 71.92 kB / 0.7238 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.2503, allocations: 11.94 kB / 0.7239 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.2527, allocations: 1.729 MB / 0.7255 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.458e-05/0.2527, allocations: 79.89 kB / 0.7256 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.105e-05/0.2528, allocations: 15.98 kB / 0.7256 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.2529, allocations: 27.42 kB / 0.7257 GB, free: 9.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.2529, allocations: 0 / 0.7257 GB, free: 9.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.2758, allocations: 2.958 MB / 0.7286 GB, free: 6.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.7, allocations: 4.047 kB / 0.7286 GB, free: 6.246 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 15.717387081007473]