Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",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.001501/0.001501, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008939, allocations: 101.8 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/3.042e-05, allocations: 7.984 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.152, allocations: 50.42 MB / 387.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5692, allocations: 78.35 MB / 465.9 MB, free: 380 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5696, allocations: 71.95 kB / 466 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02145/0.591, allocations: 7.57 MB / 473.5 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.5911, allocations: 0 / 473.5 MB, free: 8.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.5911, allocations: 4 kB / 473.5 MB, free: 8.711 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.0007512/0.5919, allocations: 0.4989 MB / 474 MB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5919, allocations: 8.031 kB / 474.1 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.5921, allocations: 31.97 kB / 474.1 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.5923, allocations: 203.6 kB / 474.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5923, allocations: 0 / 474.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.5924, allocations: 4 kB / 474.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/0.5925, allocations: 39.98 kB / 474.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.5926, allocations: 116.5 kB / 474.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.5927, allocations: 3.953 kB / 474.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.5927, allocations: 0 / 474.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5927, allocations: 0 / 474.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.5934, allocations: 0.5374 MB / 475 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.5936, allocations: 115.8 kB / 475.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.5937, allocations: 58.66 kB / 475.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.5937, allocations: 3.938 kB / 475.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.5939, allocations: 139.4 kB / 475.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.5939, allocations: 0 / 475.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006321/0.5946, allocations: 205.7 kB / 475.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.5947, allocations: 118.8 kB / 475.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5948, allocations: 170.2 kB / 475.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.5949, allocations: 41.69 kB / 475.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.5949, allocations: 109.3 kB / 475.9 MB, free: 6.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.595, allocations: 47.48 kB / 476 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.595, allocations: 0 / 476 MB, free: 6.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5951, allocations: 330.8 kB / 476.3 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.5953, allocations: 83.77 kB / 476.4 MB, free: 5.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.5954, allocations: 103.5 kB / 476.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.5959, allocations: 127.9 kB / 476.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5959, allocations: 0 / 476.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000691/0.5966, allocations: 285.2 kB / 476.9 MB, free: 5.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5967, allocations: 4 kB / 476.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.5967, allocations: 7.984 kB / 476.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5967, allocations: 3.953 kB / 476.9 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.5969, allocations: 36.02 kB / 476.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5969, allocations: 3.984 kB / 476.9 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.597, allocations: 27.69 kB / 477 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.597, allocations: 12 kB / 477 MB, free: 5.004 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.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,$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,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete 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 9.719e-05/0.5971, allocations: 126.2 kB / 477.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005275/0.5976, allocations: 213.3 kB / 477.3 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.5977, allocations: 19.77 kB / 477.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.5977, allocations: 17.83 kB / 477.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5977, allocations: 0 / 477.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5977, allocations: 0 / 477.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.5978, allocations: 4 kB / 477.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.5979, allocations: 186.1 kB / 477.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5979, allocations: 0 / 477.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.598, allocations: 15.98 kB / 477.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.598, allocations: 0 / 477.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.5981, allocations: 12.03 kB / 477.6 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5981, allocations: 3.953 kB / 477.6 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5981, allocations: 0 / 477.6 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.5986, allocations: 269.9 kB / 477.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.5987, allocations: 96.81 kB / 477.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.5987, allocations: 15.98 kB / 477.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.5988, allocations: 4 kB / 477.9 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5989, allocations: 19.97 kB / 478 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.5989, allocations: 4 kB / 478 MB, free: 3.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.599, allocations: 132.1 kB / 478.1 MB, free: 3.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.599, allocations: 0 / 478.1 MB, free: 3.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000501/0.5995, allocations: 147.7 kB / 478.2 MB, free: 3.633 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,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * 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.001774/0.6013, allocations: 1.276 MB / 479.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.6016, allocations: 223.5 kB / 479.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6016, allocations: 3.938 kB / 479.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.6017, allocations: 60.11 kB / 479.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.6019, allocations: 4.188 kB / 479.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.6025, allocations: 308.5 kB / 480.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.6027, allocations: 0.7201 MB / 480.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.6028, allocations: 25.25 kB / 480.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.6029, allocations: 51.42 kB / 480.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6029, allocations: 0 / 480.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.6251, allocations: 4.861 MB / 485.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.6254, allocations: 173 kB / 485.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.348, allocations: 7.875 kB / 485.9 MB, free: 11.84 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat does not exist to compare? outputFormat=mat