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.001886/0.001886, allocations: 184.9 kB / 16.39 MB, free: 5.762 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.588/1.588, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 98.72 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002815, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2326, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09871/0.3314, allocations: 79.78 MB / 481.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.3317, allocations: 79.95 kB / 481.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02034/0.3521, allocations: 6.749 MB / 488.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3521, allocations: 0 / 488.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3521, allocations: 4 kB / 488.2 MB, free: 9.816 MB / 362.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.001021/0.3532, allocations: 0.5714 MB / 488.8 MB, free: 9.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3532, allocations: 12.03 kB / 488.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.46e-05/0.3533, allocations: 50.55 kB / 488.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.3535, allocations: 35.7 kB / 488.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3538, allocations: 240.3 kB / 489.1 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.3539, allocations: 12 kB / 489.1 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.3539, allocations: 35.91 kB / 489.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.3544, allocations: 218.5 kB / 489.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3544, allocations: 3.953 kB / 489.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3544, allocations: 4 kB / 489.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3545, allocations: 4 kB / 489.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.3549, allocations: 184.1 kB / 489.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3559, allocations: 0.598 MB / 490.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3571, allocations: 385.3 kB / 490.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3571, allocations: 0 / 490.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.3575, allocations: 188 kB / 490.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.3575, allocations: 0 / 490.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001035/0.3585, allocations: 496.1 kB / 491.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3586, allocations: 67.77 kB / 491.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3588, allocations: 187.9 kB / 491.4 MB, free: 6.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.3588, allocations: 37.7 kB / 491.5 MB, free: 6.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.3589, allocations: 132.5 kB / 491.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.359, allocations: 71 kB / 491.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.359, allocations: 7.938 kB / 491.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3591, allocations: 338.8 kB / 492 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.3595, allocations: 143.9 kB / 492.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.3598, allocations: 169.6 kB / 492.3 MB, free: 5.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.3602, allocations: 153.5 kB / 492.5 MB, free: 5.293 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3602, allocations: 4 kB / 492.5 MB, free: 5.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008145/0.361, allocations: 397.1 kB / 492.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.361, allocations: 4 kB / 492.9 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3611, allocations: 4 kB / 492.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3611, allocations: 3.953 kB / 492.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.3614, allocations: 75.89 kB / 492.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3614, allocations: 7.984 kB / 493 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.3616, allocations: 47.73 kB / 493 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3616, allocations: 19.97 kB / 493 MB, free: 4.734 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 () * Number of clocked 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.000141/0.3618, allocations: 133.8 kB / 493.2 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.3618, allocations: 19.81 kB / 493.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.3619, allocations: 25.86 kB / 493.2 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3619, allocations: 4 kB / 493.2 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3619, allocations: 3.953 kB / 493.2 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3619, allocations: 7.922 kB / 493.2 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3631, allocations: 0.6876 MB / 493.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3631, allocations: 0 / 493.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3633, allocations: 51.97 kB / 494 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3634, allocations: 3.953 kB / 494 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.3634, allocations: 7.984 kB / 494 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3634, allocations: 4 kB / 494 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3634, allocations: 0 / 494 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009953/0.3644, allocations: 0.5361 MB / 494.5 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3645, allocations: 96.77 kB / 494.6 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.3645, allocations: 16 kB / 494.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3647, allocations: 27.98 kB / 494.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.3648, allocations: 15.97 kB / 494.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.3648, allocations: 8 kB / 494.7 MB, free: 2.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.3649, allocations: 147.2 kB / 494.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3649, allocations: 0 / 494.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.3655, allocations: 131.8 kB / 494.9 MB, free: 2.715 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]) * Number of clocked states: 0 () * 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.0019/0.3674, allocations: 1.281 MB / 496.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.3681, allocations: 357 kB / 496.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3682, allocations: 0 / 496.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.3685, allocations: 131.9 kB / 496.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3688, allocations: 22.88 kB / 496.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3701, allocations: 0.9846 MB / 497.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3704, allocations: 0.744 MB / 498.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.3705, allocations: 33.92 kB / 498.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3706, allocations: 67.41 kB / 498.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3707, allocations: 4 kB / 498.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.3887, allocations: 5.724 MB / 0.4925 GB, free: 9.461 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.389, allocations: 231.9 kB / 0.4927 GB, free: 9.211 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.332, allocations: 0 / 0.4927 GB, free: 9.211 MB / 378.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