Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 100.1 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2076, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08233/0.29, allocations: 78.98 MB / 454.9 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.2902, allocations: 71.95 kB / 455 MB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.309, allocations: 6.712 MB / 461.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.309, allocations: 0 / 461.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.309, allocations: 4 kB / 461.7 MB, free: 10.87 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.000935/0.31, allocations: 0.5675 MB / 462.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.31, allocations: 16.03 kB / 462.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.323e-05/0.3101, allocations: 50.53 kB / 462.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.3103, allocations: 39.64 kB / 462.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3106, allocations: 239.5 kB / 462.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3106, allocations: 15.95 kB / 462.6 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.3107, allocations: 20 kB / 462.6 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.3111, allocations: 222.4 kB / 462.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3112, allocations: 3.984 kB / 462.8 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.3112, allocations: 4 kB / 462.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3112, allocations: 4 kB / 462.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.3116, allocations: 184.1 kB / 463 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.3126, allocations: 0.602 MB / 463.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.3136, allocations: 382.1 kB / 464 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3137, allocations: 0 / 464 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.314, allocations: 188.5 kB / 464.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.3141, allocations: 0 / 464.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009698/0.315, allocations: 0.4891 MB / 464.7 MB, free: 7.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3151, allocations: 59.78 kB / 464.7 MB, free: 7.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3153, allocations: 186.9 kB / 464.9 MB, free: 7.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.3153, allocations: 41.69 kB / 465 MB, free: 7.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3154, allocations: 128.5 kB / 465.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.3155, allocations: 74.95 kB / 465.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.3155, allocations: 4 kB / 465.2 MB, free: 7.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3156, allocations: 334.8 kB / 465.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.3159, allocations: 147.7 kB / 465.6 MB, free: 6.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.3163, allocations: 177.4 kB / 465.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.3166, allocations: 154.6 kB / 466 MB, free: 6.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3166, allocations: 3.938 kB / 466 MB, free: 6.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007449/0.3173, allocations: 408.9 kB / 466.4 MB, free: 5.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3174, allocations: 12.03 kB / 466.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3174, allocations: 3.984 kB / 466.4 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3174, allocations: 4 kB / 466.4 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.3177, allocations: 71.89 kB / 466.4 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3177, allocations: 0 / 466.4 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3179, allocations: 55.66 kB / 466.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.3179, allocations: 12 kB / 466.5 MB, free: 5.781 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 () * 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.0001222/0.3181, allocations: 142.1 kB / 466.6 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3181, allocations: 23.67 kB / 466.7 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.3182, allocations: 29.86 kB / 466.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3182, allocations: 0 / 466.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3182, allocations: 0 / 466.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3182, allocations: 0 / 466.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3192, allocations: 0.6855 MB / 467.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3193, allocations: 0 / 467.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3195, allocations: 59.95 kB / 467.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3195, allocations: 0 / 467.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.3196, allocations: 11.98 kB / 467.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3196, allocations: 0 / 467.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3196, allocations: 0 / 467.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.3205, allocations: 0.5306 MB / 468 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.3206, allocations: 100.8 kB / 468.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3206, allocations: 8.062 kB / 468.1 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3208, allocations: 35.97 kB / 468.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3209, allocations: 11.98 kB / 468.1 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3209, allocations: 11.98 kB / 468.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.321, allocations: 147.2 kB / 468.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.321, allocations: 0 / 468.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.3215, allocations: 131.8 kB / 468.4 MB, free: 3.762 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]) * 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.001853/0.3234, allocations: 1.301 MB / 469.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000694/0.3241, allocations: 345.5 kB / 470.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3241, allocations: 0 / 470.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.3244, allocations: 135.9 kB / 470.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.3246, allocations: 20.25 kB / 470.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3258, allocations: 0.9939 MB / 471.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.326, allocations: 0.7478 MB / 472 MB, free: 152 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.3262, allocations: 33.94 kB / 472 MB, free: 120 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3263, allocations: 67.41 kB / 472.1 MB, free: 52 kB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3263, allocations: 0 / 472.1 MB, free: 52 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.3424, allocations: 5.748 MB / 477.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.3427, allocations: 230 kB / 478 MB, free: 10.06 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.153, allocations: 4 kB / 478 MB, free: 10.06 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat