Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.001073/0.001073, allocations: 179.8 kB / 17.01 MB, free: 5.121 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.452/1.452, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008402/0.0008401, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002676, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08775/0.3006, allocations: 78.32 MB / 454.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3008, allocations: 79.95 kB / 454.3 MB, free: 2.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01437/0.3152, allocations: 5.165 MB / 459.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3153, allocations: 0 / 459.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3153, allocations: 8 kB / 459.5 MB, free: 13.07 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.0009805/0.3163, allocations: 0.5441 MB / 460 MB, free: 12.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3164, allocations: 12.03 kB / 460 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.3165, allocations: 54.53 kB / 460.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.3167, allocations: 35.7 kB / 460.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.317, allocations: 239.6 kB / 460.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.317, allocations: 15.95 kB / 460.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.3171, allocations: 20 kB / 460.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.3176, allocations: 222.3 kB / 460.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3176, allocations: 0 / 460.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.3177, allocations: 15.98 kB / 460.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.3177, allocations: 4 kB / 460.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.3181, allocations: 184 kB / 460.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3192, allocations: 0.5981 MB / 461.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3203, allocations: 374.8 kB / 461.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3203, allocations: 8 kB / 461.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.3207, allocations: 184.5 kB / 462 MB, free: 10.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.3207, allocations: 3.938 kB / 462 MB, free: 10.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001023/0.3218, allocations: 497 kB / 462.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3218, allocations: 59.78 kB / 462.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.322, allocations: 194.8 kB / 462.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.3221, allocations: 33.7 kB / 462.7 MB, free: 9.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.3221, allocations: 140.5 kB / 462.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.3222, allocations: 67.06 kB / 462.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.3222, allocations: 11.98 kB / 462.9 MB, free: 9.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3223, allocations: 330.8 kB / 463.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.3227, allocations: 147.7 kB / 463.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.3231, allocations: 173.4 kB / 463.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.3234, allocations: 154.5 kB / 463.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3234, allocations: 3.938 kB / 463.7 MB, free: 8.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008104/0.3242, allocations: 409 kB / 464.1 MB, free: 8.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3243, allocations: 6.5 kB / 464.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3243, allocations: 7.984 kB / 464.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3243, allocations: 0 / 464.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.3246, allocations: 79.89 kB / 464.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3246, allocations: 4 kB / 464.2 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3248, allocations: 51.59 kB / 464.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.3249, allocations: 16 kB / 464.3 MB, free: 7.992 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.0001297/0.325, allocations: 142.1 kB / 464.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.325, allocations: 23.67 kB / 464.5 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.3251, allocations: 21.88 kB / 464.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3251, allocations: 4 kB / 464.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3251, allocations: 4 kB / 464.5 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3251, allocations: 3.984 kB / 464.5 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.3263, allocations: 0.6855 MB / 465.2 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3263, allocations: 0 / 465.2 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.3265, allocations: 47.95 kB / 465.2 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3266, allocations: 4 kB / 465.2 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3266, allocations: 4 kB / 465.2 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3266, allocations: 0 / 465.2 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3266, allocations: 11.98 kB / 465.2 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3276, allocations: 0.5345 MB / 465.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.3277, allocations: 96.77 kB / 465.9 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3278, allocations: 16.05 kB / 465.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.328, allocations: 27.98 kB / 465.9 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.328, allocations: 11.97 kB / 465.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.328, allocations: 8 kB / 465.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3282, allocations: 151.2 kB / 466.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3282, allocations: 4 kB / 466.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.3286, allocations: 83.92 kB / 466.2 MB, free: 6.016 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.001619/0.3302, allocations: 1.229 MB / 467.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007252/0.3309, allocations: 346.7 kB / 467.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.331, allocations: 0 / 467.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.3313, allocations: 131.9 kB / 467.9 MB, free: 4.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3315, allocations: 23.98 kB / 467.9 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.3327, allocations: 0.9554 MB / 468.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.333, allocations: 0.744 MB / 469.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.3331, allocations: 33.94 kB / 469.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3333, allocations: 63.41 kB / 469.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3333, allocations: 0 / 469.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.3487, allocations: 5.12 MB / 474.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.3489, allocations: 223.2 kB / 475 MB, free: 13.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.041, allocations: 3.938 kB / 475 MB, free: 13.07 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat