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.006723/0.006723, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000877/0.000877, 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.001251/0.001251, allocations: 164.6 kB / 27.85 MB, free: 5.496 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.862/0.862, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.6842/0.6842, allocations: 102.5 MB / 367.9 MB, free: 1.492 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.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5362 GB, free: 39.94 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.449e-05, allocations: 2.281 kB / 0.5362 GB, free: 39.93 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001977/0.001991, allocations: 2.118 MB / 0.5383 GB, free: 38.48 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006328/0.002624, allocations: 416.8 kB / 0.5387 GB, free: 38.22 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.002689, allocations: 1.438 kB / 0.5387 GB, free: 38.22 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.002789, allocations: 7.219 kB / 0.5387 GB, free: 38.22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.002826, allocations: 14.2 kB / 0.5387 GB, free: 38.21 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.003251, allocations: 149.7 kB / 0.5388 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.003362, allocations: 85.58 kB / 0.5389 GB, free: 38.1 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.003449, allocations: 4.688 kB / 0.5389 GB, free: 38.1 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.00352, allocations: 46.09 kB / 0.5389 GB, free: 38.08 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.003579, allocations: 32.22 kB / 0.539 GB, free: 38.07 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003599, allocations: 8.781 kB / 0.539 GB, free: 38.07 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.003749, allocations: 82.41 kB / 0.5391 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.003803, allocations: 29.7 kB / 0.5391 GB, free: 38.04 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.003832, allocations: 22.48 kB / 0.5391 GB, free: 38.02 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.004002, allocations: 155.2 kB / 0.5393 GB, free: 37.96 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004004, allocations: 0 / 0.5393 GB, free: 37.96 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.343e-06/0.004005, allocations: 1.531 kB / 0.5393 GB, free: 37.96 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.004009, allocations: 0 / 0.5393 GB, free: 37.96 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004399/0.004449, allocations: 346.5 kB / 0.5396 GB, free: 37.66 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.004485, allocations: 9.125 kB / 0.5396 GB, free: 37.66 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.004512, allocations: 36.97 kB / 0.5396 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.004542, allocations: 10.89 kB / 0.5396 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004662, allocations: 129.2 kB / 0.5398 GB, free: 37.48 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.004705, allocations: 33.8 kB / 0.5398 GB, free: 37.45 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.004725, allocations: 10.19 kB / 0.5398 GB, free: 37.44 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.004912, allocations: 114 kB / 0.5399 GB, free: 37.39 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.004919, allocations: 192 / 0.5399 GB, free: 37.39 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.00493, allocations: 5.5 kB / 0.5399 GB, free: 37.39 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.004935, allocations: 5.375 kB / 0.5399 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.005128, allocations: 102.5 kB / 0.54 GB, free: 37.37 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.005485, allocations: 307.1 kB / 0.5403 GB, free: 37.11 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.005657, allocations: 112.3 kB / 0.5404 GB, free: 37.05 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.005761, allocations: 62.16 kB / 0.5405 GB, free: 37.03 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.005783, allocations: 5.391 kB / 0.5405 GB, free: 37.03 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.005798, allocations: 46.19 kB / 0.5405 GB, free: 36.98 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.005799, allocations: 0 / 0.5405 GB, free: 36.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.000405/0.006204, allocations: 215.3 kB / 0.5407 GB, free: 36.91 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.006226, allocations: 53.94 kB / 0.5408 GB, free: 36.85 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.006283, allocations: 124.1 kB / 0.5409 GB, free: 36.74 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.006293, allocations: 29.7 kB / 0.5409 GB, free: 36.71 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.00632, allocations: 99.12 kB / 0.541 GB, free: 36.61 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.006343, allocations: 29.52 kB / 0.5411 GB, free: 36.59 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.006376, allocations: 27.69 kB / 0.5411 GB, free: 36.57 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.41e-05/0.006411, allocations: 320.8 kB / 0.5414 GB, free: 36.25 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.006516, allocations: 60.53 kB / 0.5415 GB, free: 36.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.006619, allocations: 55.89 kB / 0.5415 GB, free: 36.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.006821, allocations: 138.5 kB / 0.5416 GB, free: 36.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006823, allocations: 0 / 0.5416 GB, free: 36.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002341/0.007057, allocations: 165.9 kB / 0.5418 GB, free: 36.12 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007071, allocations: 8.719 kB / 0.5418 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007075, allocations: 0 / 0.5418 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.007087, allocations: 5.625 kB / 0.5418 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.007311, allocations: 68.25 kB / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.007315, allocations: 0 / 0.5419 GB, free: 36.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.007365, allocations: 23 kB / 0.5419 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.007373, allocations: 8.5 kB / 0.5419 GB, free: 36.11 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 (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 4.485e-05/0.007418, allocations: 118 kB / 0.542 GB, free: 35.99 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.007434, allocations: 11 kB / 0.542 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.007471, allocations: 19.44 kB / 0.542 GB, free: 35.97 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007473, allocations: 1.031 kB / 0.5421 GB, free: 35.97 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007477, allocations: 1.375 kB / 0.5421 GB, free: 35.97 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.007479, allocations: 1.031 kB / 0.5421 GB, free: 35.97 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.007583, allocations: 159.8 kB / 0.5422 GB, free: 35.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007585, allocations: 1.906 kB / 0.5422 GB, free: 35.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.007802, allocations: 68.56 kB / 0.5423 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.007806, allocations: 0.9375 kB / 0.5423 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.007819, allocations: 1.219 kB / 0.5423 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.007821, allocations: 1.094 kB / 0.5423 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.007823, allocations: 1.031 kB / 0.5423 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.008244, allocations: 339.9 kB / 0.5426 GB, free: 35.61 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.008256, allocations: 6.672 kB / 0.5426 GB, free: 35.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.00827, allocations: 4.391 kB / 0.5426 GB, free: 35.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.008333, allocations: 19.05 kB / 0.5426 GB, free: 35.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.008369, allocations: 8.469 kB / 0.5426 GB, free: 35.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.008375, allocations: 2.219 kB / 0.5426 GB, free: 35.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.008405, allocations: 101.1 kB / 0.5427 GB, free: 35.52 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008405, allocations: 1.406 kB / 0.5427 GB, free: 35.52 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001909/0.008596, allocations: 31.58 kB / 0.5428 GB, free: 35.51 MB / 490.8 MB 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.0005227/0.009119, allocations: 0.8892 MB / 0.5436 GB, free: 34.79 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.009373, allocations: 129.4 kB / 0.5438 GB, free: 34.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009374, allocations: 0.9062 kB / 0.5438 GB, free: 34.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.009489, allocations: 65 kB / 0.5438 GB, free: 34.76 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.009688, allocations: 13.34 kB / 0.5438 GB, free: 34.75 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.01097, allocations: 1.718 MB / 0.5455 GB, free: 33.42 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.01102, allocations: 78.22 kB / 0.5456 GB, free: 33.34 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.01107, allocations: 19.91 kB / 0.5456 GB, free: 33.34 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.01111, allocations: 27.67 kB / 0.5456 GB, free: 33.32 MB / 490.8 MB Notification: Performance of SimCode: time 7.12e-07/0.01111, allocations: 3.938 kB / 0.5456 GB, free: 33.31 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.02645, allocations: 3.453 MB / 0.549 GB, free: 32.28 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.154, allocations: 2.875 kB / 0.549 GB, free: 32.28 MB / 490.8 MB " [Timeout remaining time 793] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins/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: 9.989727729000151]