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/TILMedia 1.8.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1661/0.1661, allocations: 23.03 MB / 38.67 MB, free: 1.77 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009003/0.009003, allocations: 1.434 MB / 47.31 MB, free: 2.348 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.9 kB / 54.95 MB, free: 6.32 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 191.1 kB / 62.69 MB, free: 14.53 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 293.2 MB, free: 13.3 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8334/0.8334, allocations: 127.5 MB / 477.6 MB, free: 80 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004876/0.004876, allocations: 123.8 kB / 0.6419 GB, free: 13.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4919, allocations: 82.45 MB / 0.7224 GB, free: 9.609 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003336/0.4953, allocations: 2.114 MB / 0.7244 GB, free: 7.984 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0008317/0.4961, allocations: 427.9 kB / 0.7248 GB, free: 7.66 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.4962, allocations: 0 / 0.7248 GB, free: 7.66 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.4963, allocations: 11.92 kB / 0.7249 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.4964, allocations: 10.12 kB / 0.7249 GB, free: 7.641 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.4969, allocations: 134.5 kB / 0.725 GB, free: 7.555 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.4971, allocations: 76.77 kB / 0.7251 GB, free: 7.512 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4972, allocations: 26.78 kB / 0.7251 GB, free: 7.492 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.4973, allocations: 28.3 kB / 0.7251 GB, free: 7.477 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.4973, allocations: 42.83 kB / 0.7252 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.4974, allocations: 6.875 kB / 0.7252 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.4976, allocations: 85.23 kB / 0.7252 GB, free: 7.406 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.4976, allocations: 24.03 kB / 0.7253 GB, free: 7.387 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.4977, allocations: 36.05 kB / 0.7253 GB, free: 7.359 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.4979, allocations: 134.9 kB / 0.7254 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4979, allocations: 3.984 kB / 0.7254 GB, free: 7.266 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4979, allocations: 4 kB / 0.7254 GB, free: 7.262 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.498, allocations: 1.375 kB / 0.7254 GB, free: 7.262 MB / 0.5138 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.0007155/0.4987, allocations: 416.3 kB / 0.7258 GB, free: 6.848 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4987, allocations: 9.625 kB / 0.7259 GB, free: 6.848 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.4988, allocations: 36.12 kB / 0.7259 GB, free: 6.805 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.4988, allocations: 14.38 kB / 0.7259 GB, free: 6.797 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.499, allocations: 184.5 kB / 0.7261 GB, free: 6.586 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.4991, allocations: 42.31 kB / 0.7261 GB, free: 6.543 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4991, allocations: 8.5 kB / 0.7261 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.4995, allocations: 113.7 kB / 0.7262 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.4995, allocations: 0 / 0.7262 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4995, allocations: 1.375 kB / 0.7262 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4995, allocations: 1.375 kB / 0.7262 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.4999, allocations: 108.2 kB / 0.7263 GB, free: 6.41 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.5005, allocations: 354.8 kB / 0.7267 GB, free: 6.062 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.5008, allocations: 106 kB / 0.7268 GB, free: 5.996 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.501, allocations: 70.45 kB / 0.7268 GB, free: 5.957 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5011, allocations: 1.375 kB / 0.7268 GB, free: 5.957 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.5011, allocations: 35.91 kB / 0.7269 GB, free: 5.914 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5011, allocations: 4 kB / 0.7269 GB, free: 5.91 MB / 0.5138 GB Notification: Performance of matching and sorting (n=8): time 0.0007345/0.5018, allocations: 215.3 kB / 0.7271 GB, free: 5.797 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.5019, allocations: 55.34 kB / 0.7271 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.502, allocations: 127.5 kB / 0.7273 GB, free: 5.617 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.502, allocations: 35.17 kB / 0.7273 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.5021, allocations: 94.94 kB / 0.7274 GB, free: 5.484 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.5021, allocations: 30.89 kB / 0.7274 GB, free: 5.457 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.5022, allocations: 28.98 kB / 0.7274 GB, free: 5.43 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5024, allocations: 321.8 kB / 0.7278 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.5026, allocations: 59.91 kB / 0.7278 GB, free: 5.082 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.5028, allocations: 56.95 kB / 0.7279 GB, free: 5.059 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.5032, allocations: 128.2 kB / 0.728 GB, free: 4.996 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5032, allocations: 1.188 kB / 0.728 GB, free: 4.996 MB / 0.5138 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004715/0.5036, allocations: 177.3 kB / 0.7282 GB, free: 4.895 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5037, allocations: 5.281 kB / 0.7282 GB, free: 4.895 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5037, allocations: 0 / 0.7282 GB, free: 4.895 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5037, allocations: 1.688 kB / 0.7282 GB, free: 4.895 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.5041, allocations: 77.2 kB / 0.7282 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5042, allocations: 0 / 0.7282 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.5043, allocations: 17.45 kB / 0.7283 GB, free: 4.855 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.5043, allocations: 6.422 kB / 0.7283 GB, free: 4.852 MB / 0.5138 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.0001015/0.5044, allocations: 118 kB / 0.7284 GB, free: 4.73 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.5044, allocations: 8.078 kB / 0.7284 GB, free: 4.727 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.5045, allocations: 14.06 kB / 0.7284 GB, free: 4.711 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5045, allocations: 1.25 kB / 0.7284 GB, free: 4.711 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5045, allocations: 8.094 kB / 0.7284 GB, free: 4.703 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5045, allocations: 7.922 kB / 0.7284 GB, free: 4.695 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.5048, allocations: 196.2 kB / 0.7286 GB, free: 4.473 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5048, allocations: 0 / 0.7286 GB, free: 4.473 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.5053, allocations: 62.7 kB / 0.7287 GB, free: 4.453 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5053, allocations: 1.094 kB / 0.7287 GB, free: 4.453 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5053, allocations: 5.125 kB / 0.7287 GB, free: 4.449 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5053, allocations: 9.125 kB / 0.7287 GB, free: 4.441 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5053, allocations: 0 / 0.7287 GB, free: 4.441 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.5061, allocations: 338.1 kB / 0.729 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.5061, allocations: 87.31 kB / 0.7291 GB, free: 4.105 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.5061, allocations: 1.656 kB / 0.7291 GB, free: 4.105 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.5063, allocations: 11.67 kB / 0.7291 GB, free: 4.102 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.5064, allocations: 11.45 kB / 0.7291 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5064, allocations: 2.344 kB / 0.7291 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 6.927e-05/0.5064, allocations: 99.11 kB / 0.7292 GB, free: 4.008 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5064, allocations: 0 / 0.7292 GB, free: 4.008 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002775/0.5067, allocations: 32.73 kB / 0.7292 GB, free: 4 MB / 0.5138 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.001175/0.5079, allocations: 0.8905 MB / 0.7301 GB, free: 3.227 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.5084, allocations: 132.6 kB / 0.7302 GB, free: 3.172 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5084, allocations: 192 / 0.7302 GB, free: 3.172 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.5086, allocations: 70.69 kB / 0.7303 GB, free: 3.141 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.509, allocations: 11.09 kB / 0.7303 GB, free: 3.133 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.5115, allocations: 1.717 MB / 0.732 GB, free: 1.676 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.5118, allocations: 0.7002 MB / 0.7327 GB, free: 0.9648 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 7.079e-05/0.5119, allocations: 13.11 kB / 0.7327 GB, free: 0.9609 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.512, allocations: 28.62 kB / 0.7327 GB, free: 0.9375 MB / 0.5138 GB Notification: Performance of SimCode: time 3e-07/0.512, allocations: 0 / 0.7327 GB, free: 0.9375 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.632/2.144, allocations: 2.682 MB / 0.7353 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/15.79, allocations: 20.64 kB / 0.7353 GB, free: 15.53 MB / 0.5294 GB (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 --timeout=50 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1)