Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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/TILMedia 1.8.1-main/package.mo", uses=false) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-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 ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="me",version="2.0",platforms={"static"}) [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9308/0.9308, allocations: 127.1 MB / 142 MB, free: 10.63 MB / 126.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008678, allocations: 95.78 kB / 169.3 MB, free: 11.8 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 189.8 kB / 196.6 MB, free: 0.6289 MB / 158.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 223.1 MB / 446.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1028/0.1028, allocations: 22.57 MB / 0.5342 GB, free: 0.6797 MB / 398.1 MB Warning: Requested package TILMedia of version 1.8.0 ClaRa, but this package was already loaded with version 1.8.1 ClaRa. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004976, allocations: 12.31 kB / 0.6274 GB, free: 80.76 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2036, allocations: 83.48 MB / 0.7089 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001705/0.2053, allocations: 1.718 MB / 0.7106 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006514/0.206, allocations: 387 kB / 0.711 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.2061, allocations: 0 / 0.711 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.2061, allocations: 0 / 0.711 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.2062, allocations: 19.91 kB / 0.711 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.2066, allocations: 107.8 kB / 0.7111 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.2066, allocations: 55.88 kB / 0.7111 GB, free: 2.379 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.2067, allocations: 12.2 kB / 0.7111 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.2068, allocations: 23.92 kB / 0.7112 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.2068, allocations: 43.81 kB / 0.7112 GB, free: 2.301 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.2069, allocations: 4 kB / 0.7112 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.207, allocations: 59.94 kB / 0.7113 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.2071, allocations: 15.92 kB / 0.7113 GB, free: 2.223 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.2071, allocations: 45.58 kB / 0.7113 GB, free: 2.172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.2072, allocations: 91.77 kB / 0.7114 GB, free: 2.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-06/0.2072, allocations: 0 / 0.7114 GB, free: 2.082 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2072, allocations: 0 / 0.7114 GB, free: 2.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.2073, allocations: 0 / 0.7114 GB, free: 2.082 MB / 462.1 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.0005073/0.2078, allocations: 419 kB / 0.7118 GB, free: 1.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.532e-05/0.2078, allocations: 12.02 kB / 0.7118 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.2078, allocations: 46.5 kB / 0.7119 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.2079, allocations: 7.906 kB / 0.7119 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.208, allocations: 183 kB / 0.7121 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.2081, allocations: 33.7 kB / 0.7121 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2081, allocations: 8 kB / 0.7121 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.2084, allocations: 121.5 kB / 0.7122 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.2084, allocations: 0 / 0.7122 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2084, allocations: 3.953 kB / 0.7122 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2084, allocations: 4 kB / 0.7122 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.2088, allocations: 127.9 kB / 0.7123 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.2093, allocations: 372.6 kB / 0.7127 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.2096, allocations: 122.4 kB / 0.7128 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.2096, allocations: 4.094 kB / 0.7128 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.2096, allocations: 34.56 kB / 0.7128 GB, free: 448 kB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2096, allocations: 0 / 0.7128 GB, free: 448 kB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006698/0.2103, allocations: 261.4 kB / 0.7131 GB, free: 180 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2104, allocations: 51.41 kB / 0.7131 GB, free: 116 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2105, allocations: 124.9 kB / 0.7133 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2105, allocations: 25.7 kB / 0.7133 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.2106, allocations: 100.2 kB / 0.7134 GB, free: 15.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.2106, allocations: 27.64 kB / 0.7134 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.2107, allocations: 4 kB / 0.7134 GB, free: 15.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2108, allocations: 310.8 kB / 0.7137 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.211, allocations: 75.94 kB / 0.7138 GB, free: 15.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.2112, allocations: 79.88 kB / 0.7139 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.2115, allocations: 75.95 kB / 0.7139 GB, free: 15.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2115, allocations: 4 kB / 0.7139 GB, free: 15.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004665/0.2119, allocations: 201.4 kB / 0.7141 GB, free: 15.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.212, allocations: 5.562 kB / 0.7141 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.212, allocations: 0 / 0.7141 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.212, allocations: 0 / 0.7141 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.2124, allocations: 91.86 kB / 0.7142 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.2124, allocations: 0 / 0.7142 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2126, allocations: 27.89 kB / 0.7142 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2126, allocations: 3.984 kB / 0.7143 GB, free: 14.94 MB / 478.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.2127, allocations: 117.8 kB / 0.7144 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.2127, allocations: 15.86 kB / 0.7144 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.2128, allocations: 12.38 kB / 0.7144 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2128, allocations: 0 / 0.7144 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2128, allocations: 0 / 0.7144 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2128, allocations: 3.984 kB / 0.7144 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.213, allocations: 201.5 kB / 0.7146 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.213, allocations: 4 kB / 0.7146 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.2135, allocations: 84.03 kB / 0.7147 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2135, allocations: 3.938 kB / 0.7147 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2135, allocations: 3.953 kB / 0.7147 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2135, allocations: 4 kB / 0.7147 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2135, allocations: 0 / 0.7147 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.2143, allocations: 375.2 kB / 0.715 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.2143, allocations: 81.02 kB / 0.7151 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.2144, allocations: 8.031 kB / 0.7151 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2145, allocations: 24 kB / 0.7151 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.2145, allocations: 8.266 kB / 0.7152 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2146, allocations: 4 kB / 0.7152 GB, free: 13.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.063e-05/0.2146, allocations: 95.27 kB / 0.7153 GB, free: 13.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2146, allocations: 7.938 kB / 0.7153 GB, free: 13.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.2149, allocations: 31.98 kB / 0.7153 GB, free: 13.79 MB / 478.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.216, allocations: 0.9153 MB / 0.7162 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.2164, allocations: 167.9 kB / 0.7163 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2165, allocations: 0 / 0.7163 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2167, allocations: 79.94 kB / 0.7164 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.2169, allocations: 15.67 kB / 0.7164 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.2183, allocations: 0.7946 MB / 0.7172 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2186, allocations: 0.7043 MB / 0.7179 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.2187, allocations: 16.55 kB / 0.7179 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.2187, allocations: 27.42 kB / 0.7179 GB, free: 10.98 MB / 478.1 MB Notification: Performance of SimCode: time 4e-07/0.2187, allocations: 0 / 0.7179 GB, free: 10.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.2308, allocations: 2.307 MB / 0.7202 GB, free: 8.816 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.2311, allocations: 193.8 kB / 0.7204 GB, free: 8.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.051, allocations: 3.938 kB / 0.7204 GB, free: 8.566 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat does not exist to compare? outputFormat=mat