Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.001176/0.001176, allocations: 181.1 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.466/1.466, 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.000871/0.000871, allocations: 101.2 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002348/0.0002348, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2101, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08526/0.2954, allocations: 78.25 MB / 454.2 MB, free: 2.398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.2957, allocations: 79.94 kB / 454.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0206/0.3163, allocations: 7.554 MB / 461.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3164, allocations: 0 / 461.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3164, allocations: 0 / 461.8 MB, free: 10.75 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007651/0.3172, allocations: 0.5299 MB / 462.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3172, allocations: 8.031 kB / 462.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.3173, allocations: 54.39 kB / 462.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.3175, allocations: 35.8 kB / 462.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3177, allocations: 196.2 kB / 462.6 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3177, allocations: 7.953 kB / 462.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3177, allocations: 12 kB / 462.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.318, allocations: 134.2 kB / 462.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.318, allocations: 7.938 kB / 462.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.318, allocations: 0 / 462.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.318, allocations: 0 / 462.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.3182, allocations: 71.95 kB / 462.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.3189, allocations: 0.5788 MB / 463.4 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.3192, allocations: 164 kB / 463.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.3192, allocations: 0 / 463.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.3195, allocations: 161.4 kB / 463.7 MB, free: 8.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.3195, allocations: 7.938 kB / 463.7 MB, free: 8.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006122/0.3201, allocations: 419.7 kB / 464.1 MB, free: 8.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.3202, allocations: 118.9 kB / 464.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3204, allocations: 186.1 kB / 464.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.3204, allocations: 49.69 kB / 464.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.3205, allocations: 112.5 kB / 464.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3205, allocations: 43.48 kB / 464.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.3206, allocations: 8 kB / 464.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.3207, allocations: 330.8 kB / 465 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3209, allocations: 99.94 kB / 465.1 MB, free: 7.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3211, allocations: 133.6 kB / 465.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3213, allocations: 113 kB / 465.3 MB, free: 6.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3213, allocations: 0 / 465.3 MB, free: 6.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004849/0.3218, allocations: 302 kB / 465.6 MB, free: 6.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3218, allocations: 4 kB / 465.6 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3219, allocations: 4 kB / 465.6 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3219, allocations: 8.078 kB / 465.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.322, allocations: 27.98 kB / 465.6 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.322, allocations: 3.938 kB / 465.7 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.3221, allocations: 23.84 kB / 465.7 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.3222, allocations: 19.94 kB / 465.7 MB, free: 6.508 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001274/0.3223, allocations: 153.9 kB / 465.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3223, allocations: 11.81 kB / 465.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.3224, allocations: 21.34 kB / 465.9 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3224, allocations: 4 kB / 465.9 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3224, allocations: 0 / 465.9 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3224, allocations: 3.984 kB / 465.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3226, allocations: 221.5 kB / 466.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3226, allocations: 0 / 466.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.3227, allocations: 15.92 kB / 466.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3227, allocations: 8 kB / 466.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3227, allocations: 0 / 466.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3227, allocations: 8 kB / 466.1 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3227, allocations: 0 / 466.1 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.3231, allocations: 273.9 kB / 466.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.3231, allocations: 108.8 kB / 466.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.3232, allocations: 4 kB / 466.5 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.3233, allocations: 15.98 kB / 466.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.3233, allocations: 11.94 kB / 466.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3233, allocations: 15.98 kB / 466.6 MB, free: 5.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.3234, allocations: 133.2 kB / 466.7 MB, free: 5.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3235, allocations: 4.094 kB / 466.7 MB, free: 5.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005243/0.324, allocations: 163.7 kB / 466.8 MB, free: 5.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001549/0.3255, allocations: 1.295 MB / 468.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.326, allocations: 255.8 kB / 468.4 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.326, allocations: 4 kB / 468.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.3261, allocations: 72.16 kB / 468.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3263, allocations: 8.188 kB / 468.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.3272, allocations: 1.086 MB / 469.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3274, allocations: 0.7201 MB / 470.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.3275, allocations: 25.41 kB / 470.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.3276, allocations: 43.42 kB / 470.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3276, allocations: 0 / 470.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.3441, allocations: 5.286 MB / 475.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.3443, allocations: 212.9 kB / 475.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.965, allocations: 0 / 475.8 MB, free: 12.09 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat does not exist to compare? outputFormat=mat