Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008173/0.0008174, allocations: 87.12 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.546e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09566, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.4829, allocations: 79.05 MB / 466.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4831, allocations: 71.97 kB / 466.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0201/0.5032, allocations: 6.678 MB / 473.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5033, allocations: 0 / 473.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.5033, allocations: 4 kB / 473.4 MB, free: 8.883 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009422/0.5043, allocations: 0.5438 MB / 473.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5043, allocations: 8.031 kB / 473.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.5045, allocations: 35.7 kB / 474 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.5048, allocations: 235.6 kB / 474.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.5049, allocations: 8 kB / 474.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.5049, allocations: 8 kB / 474.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00021/0.5051, allocations: 96.25 kB / 474.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.5054, allocations: 143.3 kB / 474.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5054, allocations: 0 / 474.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.5054, allocations: 0 / 474.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5055, allocations: 4 kB / 474.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009883/0.5064, allocations: 0.5517 MB / 475 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.507, allocations: 224.3 kB / 475.2 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.5072, allocations: 76.97 kB / 475.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.5072, allocations: 12.06 kB / 475.3 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.5074, allocations: 120.8 kB / 475.4 MB, free: 6.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 4.127e-06/0.5074, allocations: 4 kB / 475.4 MB, free: 6.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004049/0.5079, allocations: 184 kB / 475.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.5079, allocations: 55.59 kB / 475.6 MB, free: 6.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5081, allocations: 174.1 kB / 475.8 MB, free: 6.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.5081, allocations: 33.69 kB / 475.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.5082, allocations: 132.5 kB / 476 MB, free: 6.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.5083, allocations: 67.02 kB / 476 MB, free: 6.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.5083, allocations: 0 / 476 MB, free: 6.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5085, allocations: 330.8 kB / 476.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.5086, allocations: 91.98 kB / 476.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5088, allocations: 109.4 kB / 476.6 MB, free: 5.473 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.509, allocations: 93.2 kB / 476.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.509, allocations: 3.938 kB / 476.7 MB, free: 5.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004672/0.5095, allocations: 272 kB / 476.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5095, allocations: 8 kB / 476.9 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5096, allocations: 0 / 476.9 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5096, allocations: 0 / 476.9 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.5099, allocations: 79.92 kB / 477 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5099, allocations: 7.984 kB / 477 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.5101, allocations: 43.72 kB / 477.1 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.5101, allocations: 19.95 kB / 477.1 MB, free: 4.949 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001243/0.5103, allocations: 116.9 kB / 477.2 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003042/0.5106, allocations: 192.7 kB / 477.4 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.5106, allocations: 15.81 kB / 477.4 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.5107, allocations: 9.969 kB / 477.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5107, allocations: 8 kB / 477.4 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5107, allocations: 3.953 kB / 477.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.5107, allocations: 3.984 kB / 477.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.5115, allocations: 0.5299 MB / 478 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5115, allocations: 0 / 478 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.5118, allocations: 55.95 kB / 478 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5118, allocations: 0 / 478 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.5118, allocations: 8 kB / 478 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.5118, allocations: 7.938 kB / 478 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5118, allocations: 0 / 478 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.5123, allocations: 367.6 kB / 478.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.5124, allocations: 92.83 kB / 478.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.5124, allocations: 15.98 kB / 478.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.5126, allocations: 19.98 kB / 478.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.5127, allocations: 23.91 kB / 478.5 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.5127, allocations: 12 kB / 478.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.5128, allocations: 127.2 kB / 478.7 MB, free: 3.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5128, allocations: 0 / 478.7 MB, free: 3.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000581/0.5134, allocations: 123.8 kB / 478.8 MB, free: 3.152 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001387/0.5148, allocations: 1.094 MB / 479.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.5152, allocations: 225.6 kB / 480.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5152, allocations: 0 / 480.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.5154, allocations: 79.92 kB / 480.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.5156, allocations: 29.83 kB / 480.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/0.5164, allocations: 420.6 kB / 480.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.5167, allocations: 0.7516 MB / 481.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.5169, allocations: 25.84 kB / 481.4 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.517, allocations: 71.39 kB / 481.5 MB, free: 428 kB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.517, allocations: 7.938 kB / 481.5 MB, free: 420 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.5431, allocations: 5.218 MB / 486.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.5433, allocations: 175.3 kB / 486.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.288, allocations: 0 / 486.9 MB, free: 11.02 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat