Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.00124/0.00124, allocations: 180 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.462/1.462, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0009187/0.0009186, allocations: 96.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09011/0.3549, allocations: 76.15 MB / 452 MB, free: 4.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.3551, allocations: 71.95 kB / 452.1 MB, free: 4.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.3664, allocations: 4.149 MB / 456.3 MB, free: 284 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.3664, allocations: 0 / 456.3 MB, free: 284 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3664, allocations: 3.938 kB / 456.3 MB, free: 280 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006475/0.3671, allocations: 455.4 kB / 456.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3672, allocations: 12.03 kB / 456.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.646e-05/0.3672, allocations: 46.45 kB / 456.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.3675, allocations: 35.88 kB / 456.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3677, allocations: 194.8 kB / 457 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3677, allocations: 11.95 kB / 457 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3678, allocations: 4 kB / 457 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.368, allocations: 123.3 kB / 457.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.368, allocations: 3.984 kB / 457.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3681, allocations: 0 / 457.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3681, allocations: 7.938 kB / 457.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3683, allocations: 63.95 kB / 457.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.369, allocations: 472.7 kB / 457.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.3693, allocations: 141.2 kB / 457.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.3693, allocations: 0 / 457.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.3696, allocations: 153 kB / 458 MB, free: 14.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.3696, allocations: 0 / 458 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006063/0.3702, allocations: 407.7 kB / 458.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.3703, allocations: 93.31 kB / 458.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3704, allocations: 165.9 kB / 458.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.3705, allocations: 49.69 kB / 458.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.3706, allocations: 108.5 kB / 458.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.3706, allocations: 39.55 kB / 458.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.3706, allocations: 0 / 458.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3707, allocations: 338.8 kB / 459.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3709, allocations: 88.47 kB / 459.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3711, allocations: 131.5 kB / 459.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3714, allocations: 109 kB / 459.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3714, allocations: 0 / 459.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005163/0.3719, allocations: 290.8 kB / 459.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3719, allocations: 8.062 kB / 459.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3719, allocations: 4 kB / 459.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.372, allocations: 4 kB / 459.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.3721, allocations: 23.98 kB / 459.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3721, allocations: 0 / 459.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.3722, allocations: 19.89 kB / 459.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3723, allocations: 8 kB / 459.8 MB, free: 12.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0001511/0.3724, allocations: 157.7 kB / 460 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3725, allocations: 11.81 kB / 460 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.3725, allocations: 17.39 kB / 460 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3725, allocations: 4.031 kB / 460 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3725, allocations: 3.984 kB / 460 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3725, allocations: 4 kB / 460 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.3728, allocations: 213.5 kB / 460.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3728, allocations: 4 kB / 460.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.3728, allocations: 15.94 kB / 460.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3728, allocations: 0 / 460.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3729, allocations: 3.984 kB / 460.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3729, allocations: 4 kB / 460.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3729, allocations: 0 / 460.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.3732, allocations: 247.3 kB / 460.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.3733, allocations: 85.02 kB / 460.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.3733, allocations: 11.98 kB / 460.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.3734, allocations: 11.98 kB / 460.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.3735, allocations: 11.98 kB / 460.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3735, allocations: 4 kB / 460.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.3736, allocations: 123.2 kB / 460.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.3736, allocations: 0 / 460.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000328/0.3739, allocations: 71.86 kB / 460.8 MB, free: 11.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.001216/0.3752, allocations: 1.047 MB / 461.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.3756, allocations: 252.1 kB / 462.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3756, allocations: 0 / 462.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3757, allocations: 63.97 kB / 462.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.3759, allocations: 4 kB / 462.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.3768, allocations: 0.8404 MB / 463 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.377, allocations: 0.716 MB / 463.7 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.3771, allocations: 16.88 kB / 463.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.3772, allocations: 39.42 kB / 463.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3772, allocations: 0 / 463.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.393, allocations: 3.687 MB / 467.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.3933, allocations: 227.9 kB / 467.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.944, allocations: 3.938 kB / 467.7 MB, free: 4.336 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat does not exist to compare? outputFormat=mat