Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00085/0.0008503, allocations: 103.4 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.136e-05, allocations: 4 kB / 343.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 51.48 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.5259, allocations: 79.85 MB / 475.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5262, allocations: 76.27 kB / 475.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.5448, allocations: 6.769 MB / 482 MB, free: 7.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5448, allocations: 0 / 482 MB, free: 7.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.5448, allocations: 4 kB / 482 MB, free: 7.547 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.0008331/0.5457, allocations: 0.5411 MB / 482.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5457, allocations: 12.03 kB / 482.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.5459, allocations: 35.7 kB / 482.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.5462, allocations: 237.8 kB / 482.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.5462, allocations: 8 kB / 482.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.5463, allocations: 15.61 kB / 482.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002001/0.5465, allocations: 91.06 kB / 482.9 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.5467, allocations: 143.9 kB / 483 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5467, allocations: 3.938 kB / 483.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.5468, allocations: 0 / 483.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5468, allocations: 4 kB / 483.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.5476, allocations: 0.5445 MB / 483.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.5482, allocations: 229.1 kB / 483.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5483, allocations: 75.03 kB / 483.9 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.5483, allocations: 0 / 483.9 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.5485, allocations: 129.9 kB / 484 MB, free: 5.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.5485, allocations: 0 / 484 MB, free: 5.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003502/0.5489, allocations: 185.2 kB / 484.2 MB, free: 5.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5489, allocations: 63.16 kB / 484.3 MB, free: 5.406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5491, allocations: 163.2 kB / 484.4 MB, free: 5.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.5491, allocations: 37.06 kB / 484.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.5492, allocations: 131.2 kB / 484.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.5492, allocations: 69 kB / 484.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.5492, allocations: 4 kB / 484.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.5493, allocations: 333.7 kB / 485 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.5494, allocations: 87.23 kB / 485.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.5496, allocations: 107.2 kB / 485.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.5498, allocations: 101.4 kB / 485.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5498, allocations: 0 / 485.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003911/0.5502, allocations: 264.6 kB / 485.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5502, allocations: 8.031 kB / 485.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5503, allocations: 3.953 kB / 485.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5503, allocations: 7.938 kB / 485.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.5506, allocations: 71.39 kB / 485.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5506, allocations: 7.562 kB / 485.6 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.5507, allocations: 47.72 kB / 485.7 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.5508, allocations: 14.06 kB / 485.7 MB, free: 4.18 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 8.363e-05/0.5509, allocations: 116.8 kB / 485.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002747/0.5512, allocations: 194.2 kB / 486 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.5512, allocations: 27.27 kB / 486 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.5512, allocations: 16.53 kB / 486 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.5512, allocations: 0 / 486 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5513, allocations: 0 / 486 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5513, allocations: 3.984 kB / 486 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.5519, allocations: 0.5315 MB / 486.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5519, allocations: 0 / 486.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.5521, allocations: 51.95 kB / 486.6 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5521, allocations: 0 / 486.6 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.5522, allocations: 8.125 kB / 486.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5522, allocations: 0 / 486.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5522, allocations: 4 kB / 486.6 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.5526, allocations: 371.4 kB / 487 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.5526, allocations: 100.7 kB / 487.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.5527, allocations: 7.688 kB / 487.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5529, allocations: 31.97 kB / 487.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.5529, allocations: 11.97 kB / 487.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.5529, allocations: 11.81 kB / 487.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.553, allocations: 125.5 kB / 487.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.553, allocations: 1.875 kB / 487.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.5535, allocations: 119.4 kB / 487.4 MB, free: 2.605 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.001209/0.5548, allocations: 1.114 MB / 488.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.5551, allocations: 219.5 kB / 488.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5551, allocations: 6.656 kB / 488.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.5553, allocations: 80.11 kB / 488.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.5555, allocations: 19.11 kB / 488.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.5563, allocations: 428.5 kB / 489.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.5564, allocations: 0.7438 MB / 490 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.5566, allocations: 29.84 kB / 490 MB, free: 140 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.5567, allocations: 67.97 kB / 490.1 MB, free: 112 kB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5567, allocations: 0 / 490.1 MB, free: 112 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.5843, allocations: 5.277 MB / 495.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.5846, allocations: 168.4 kB / 495.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.285, allocations: 3.938 kB / 495.5 MB, free: 10.71 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat