Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",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.001214/0.001214, 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.246/1.246, 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.0009272/0.0009271, allocations: 84.17 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2107, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0836/0.2944, allocations: 76.17 MB / 452.1 MB, free: 4.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.2947, allocations: 67.97 kB / 452.1 MB, free: 4.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004838/0.2995, allocations: 1.697 MB / 453.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2996, allocations: 0 / 453.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2996, allocations: 0 / 453.8 MB, free: 2.715 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004009/0.3, allocations: 383 kB / 454.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3, allocations: 12.03 kB / 454.2 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.437e-05/0.3001, allocations: 46.55 kB / 454.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.3005, allocations: 55.77 kB / 454.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3006, allocations: 167 kB / 454.5 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3006, allocations: 4 kB / 454.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3007, allocations: 12.14 kB / 454.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3009, allocations: 101.6 kB / 454.6 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3009, allocations: 0 / 454.6 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.301, allocations: 4 kB / 454.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.301, allocations: 0 / 454.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.3012, allocations: 87.94 kB / 454.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.3019, allocations: 388.4 kB / 455.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3021, allocations: 78.53 kB / 455.2 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3022, allocations: 4 kB / 455.2 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3022, allocations: 34.62 kB / 455.2 MB, free: 1.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3022, allocations: 0 / 455.2 MB, free: 1.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004293/0.3026, allocations: 145.7 kB / 455.3 MB, free: 1.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3027, allocations: 55.36 kB / 455.4 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3028, allocations: 109.2 kB / 455.5 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3028, allocations: 29.7 kB / 455.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.3029, allocations: 99.97 kB / 455.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3029, allocations: 15.72 kB / 455.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.3029, allocations: 0 / 455.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3031, allocations: 326.8 kB / 456 MB, free: 392 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.3032, allocations: 27.98 kB / 456 MB, free: 364 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3033, allocations: 31.97 kB / 456 MB, free: 332 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.3034, allocations: 39.92 kB / 456.1 MB, free: 292 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3034, allocations: 3.938 kB / 456.1 MB, free: 288 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002454/0.3037, allocations: 101.7 kB / 456.2 MB, free: 180 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3037, allocations: 4 kB / 456.2 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3037, allocations: 4 kB / 456.2 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3038, allocations: 3.984 kB / 456.2 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3039, allocations: 23.97 kB / 456.2 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3039, allocations: 0 / 456.2 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.614e-05/0.304, allocations: 27.78 kB / 456.2 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3041, allocations: 4 kB / 456.2 MB, free: 112 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001162/0.3042, allocations: 113.8 kB / 456.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.3042, allocations: 4 kB / 456.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.3045, allocations: 126 kB / 456.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3046, allocations: 0 / 456.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3046, allocations: 8.062 kB / 456.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3046, allocations: 0 / 456.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.3048, allocations: 197.5 kB / 456.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3048, allocations: 4 kB / 456.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.305, allocations: 19.98 kB / 456.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.305, allocations: 0 / 456.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.305, allocations: 7.984 kB / 456.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.305, allocations: 3.938 kB / 456.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.305, allocations: 4 kB / 456.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.3053, allocations: 207.4 kB / 456.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.3054, allocations: 85 kB / 457 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.3054, allocations: 0 / 457 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3055, allocations: 16 kB / 457 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3055, allocations: 7.984 kB / 457 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3056, allocations: 0 / 457 MB, free: 15.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.531e-05/0.3056, allocations: 98.64 kB / 457.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3056, allocations: 4 kB / 457.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.3058, allocations: 15.91 kB / 457.1 MB, free: 15.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0007033/0.3065, allocations: 0.781 MB / 457.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3068, allocations: 80 kB / 458 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3068, allocations: 0 / 458 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3069, allocations: 43.91 kB / 458 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.3071, allocations: 10.56 kB / 458 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3083, allocations: 0.6299 MB / 458.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3086, allocations: 0.6987 MB / 459.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.3087, allocations: 7.984 kB / 459.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.3087, allocations: 23.5 kB / 459.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.874e-06/0.3088, allocations: 3.938 kB / 459.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.3206, allocations: 1.639 MB / 461 MB, free: 11.14 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.3209, allocations: 186.1 kB / 461.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.824, allocations: 0 / 461.2 MB, free: 10.89 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat