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.001501/0.001501, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.3 MB / 235.5 MB, free: 2.941 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.000875/0.0008749, allocations: 94.53 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.527e-05, allocations: 0 / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 50.42 MB / 394.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3315/0.4352, allocations: 79.71 MB / 474.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4355, allocations: 73.53 kB / 474.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.4544, allocations: 6.715 MB / 480.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4544, allocations: 0 / 480.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.4545, allocations: 4 kB / 480.9 MB, free: 0.957 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.0008314/0.4553, allocations: 0.5439 MB / 481.4 MB, free: 376 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4554, allocations: 12.03 kB / 481.4 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.912e-05/0.4554, allocations: 54.45 kB / 481.5 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.4556, allocations: 31.8 kB / 481.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.4559, allocations: 239.5 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.4559, allocations: 15.94 kB / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.456, allocations: 24 kB / 481.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.4563, allocations: 166.5 kB / 481.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4563, allocations: 3.953 kB / 481.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.4563, allocations: 12 kB / 481.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4563, allocations: 0 / 481.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.4565, allocations: 104.2 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009505/0.4575, allocations: 0.6056 MB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.4581, allocations: 235 kB / 482.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4583, allocations: 85.03 kB / 483 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.4583, allocations: 4.062 kB / 483 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.4585, allocations: 131.9 kB / 483.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.4585, allocations: 0 / 483.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003663/0.4589, allocations: 196 kB / 483.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.4589, allocations: 67.47 kB / 483.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4591, allocations: 180.1 kB / 483.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.4592, allocations: 41.7 kB / 483.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.4592, allocations: 136.5 kB / 483.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.4593, allocations: 71 kB / 483.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.4593, allocations: 4 kB / 483.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4594, allocations: 338.8 kB / 484.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.4596, allocations: 87.98 kB / 484.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.4598, allocations: 117.7 kB / 484.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.46, allocations: 101.5 kB / 484.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.46, allocations: 0 / 484.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004304/0.4604, allocations: 293.1 kB / 484.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4604, allocations: 9.562 kB / 484.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4604, allocations: 0 / 484.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4605, allocations: 3.953 kB / 484.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.4608, allocations: 79.92 kB / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4608, allocations: 4 kB / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.461, allocations: 47.72 kB / 484.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.461, allocations: 15.98 kB / 484.9 MB, free: 12.73 MB / 362.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 9.817e-05/0.4611, allocations: 124.9 kB / 485 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.4611, allocations: 15.81 kB / 485 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.4612, allocations: 17.66 kB / 485 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4612, allocations: 7.938 kB / 485 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4612, allocations: 4 kB / 485 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4612, allocations: 0 / 485 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.462, allocations: 0.5844 MB / 485.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.462, allocations: 0 / 485.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.4623, allocations: 55.95 kB / 485.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4623, allocations: 7.953 kB / 485.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4623, allocations: 8 kB / 485.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4623, allocations: 0 / 485.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4623, allocations: 0 / 485.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.4628, allocations: 386.5 kB / 486.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.4629, allocations: 100.8 kB / 486.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.4629, allocations: 12.02 kB / 486.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.4631, allocations: 27.97 kB / 486.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.4632, allocations: 19.97 kB / 486.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.4632, allocations: 7.984 kB / 486.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.4633, allocations: 147.2 kB / 486.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4634, allocations: 0 / 486.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005003/0.4639, allocations: 131.7 kB / 486.5 MB, free: 10.98 MB / 362.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.001338/0.4652, allocations: 1.111 MB / 487.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.4656, allocations: 241.2 kB / 487.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4656, allocations: 0 / 487.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.4658, allocations: 85.55 kB / 487.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.466, allocations: 23.94 kB / 487.9 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.4668, allocations: 445.6 kB / 488.4 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.4672, allocations: 0.748 MB / 489.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.4673, allocations: 34 kB / 489.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.4674, allocations: 67.41 kB / 489.2 MB, free: 8.188 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4674, allocations: 0 / 489.2 MB, free: 8.188 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.4855, allocations: 5.807 MB / 495 MB, free: 2.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.4857, allocations: 189.1 kB / 495.2 MB, free: 2.281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.359, allocations: 4 kB / 495.2 MB, free: 2.277 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