Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",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.001182/0.001182, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 97.36 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002696, allocations: 15.98 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2527, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0968/0.3495, allocations: 77.06 MB / 478.6 MB, free: 3.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.3498, allocations: 75.95 kB / 478.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.3615, allocations: 4.215 MB / 482.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3616, allocations: 0 / 482.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3616, allocations: 11.94 kB / 482.9 MB, free: 15.08 MB / 362.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.000675/0.3623, allocations: 455.3 kB / 483.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3623, allocations: 8.031 kB / 483.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.3624, allocations: 46.45 kB / 483.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.3627, allocations: 31.89 kB / 483.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3629, allocations: 194.8 kB / 483.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.3629, allocations: 8 kB / 483.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.363, allocations: 8 kB / 483.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3632, allocations: 119.3 kB / 483.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3632, allocations: 0 / 483.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3633, allocations: 3.953 kB / 483.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3633, allocations: 4 kB / 483.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.3635, allocations: 71.89 kB / 483.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.3641, allocations: 460.8 kB / 484.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.3644, allocations: 145.2 kB / 484.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3645, allocations: 4.031 kB / 484.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.3647, allocations: 145 kB / 484.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3647, allocations: 4 kB / 484.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006141/0.3654, allocations: 411.8 kB / 485 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3654, allocations: 93.09 kB / 485.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3656, allocations: 175 kB / 485.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.3657, allocations: 45.69 kB / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3657, allocations: 108.5 kB / 485.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.3658, allocations: 43.5 kB / 485.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.3658, allocations: 4 kB / 485.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3659, allocations: 326.8 kB / 485.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3661, allocations: 92.45 kB / 485.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3663, allocations: 130 kB / 486 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3665, allocations: 100.5 kB / 486.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3665, allocations: 0 / 486.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004893/0.367, allocations: 281.3 kB / 486.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3671, allocations: 11.95 kB / 486.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.3671, allocations: 3.984 kB / 486.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3671, allocations: 4 kB / 486.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3672, allocations: 35.86 kB / 486.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.3673, allocations: 4.531 kB / 486.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.3674, allocations: 15.91 kB / 486.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.3674, allocations: 11.98 kB / 486.5 MB, free: 11.25 MB / 362.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.0001466/0.3676, allocations: 160.5 kB / 486.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3676, allocations: 11.81 kB / 486.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.3676, allocations: 17.36 kB / 486.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3676, allocations: 4 kB / 486.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3676, allocations: 0 / 486.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3677, allocations: 0 / 486.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3679, allocations: 217.4 kB / 486.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3679, allocations: 0 / 486.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.3679, allocations: 15.98 kB / 486.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3679, allocations: 4 kB / 486.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.368, allocations: 4 kB / 486.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.368, allocations: 3.953 kB / 486.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.368, allocations: 7.938 kB / 486.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.3684, allocations: 239.4 kB / 487.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.3684, allocations: 89 kB / 487.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3685, allocations: 19.94 kB / 487.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.3685, allocations: 4 kB / 487.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3686, allocations: 11.98 kB / 487.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3686, allocations: 11.98 kB / 487.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.546e-05/0.3687, allocations: 123.5 kB / 487.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3687, allocations: 0 / 487.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.3691, allocations: 67.88 kB / 487.5 MB, free: 10.15 MB / 362.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.001219/0.3703, allocations: 1.045 MB / 488.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004442/0.3708, allocations: 247.2 kB / 488.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3708, allocations: 0 / 488.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.371, allocations: 68.03 kB / 488.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3711, allocations: 4 kB / 488.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.372, allocations: 0.8214 MB / 489.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3723, allocations: 0.7199 MB / 490.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.115e-05/0.3724, allocations: 17.02 kB / 490.4 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.3725, allocations: 43.42 kB / 490.4 MB, free: 7.105 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3725, allocations: 0 / 490.4 MB, free: 7.105 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.3879, allocations: 3.631 MB / 494 MB, free: 3.594 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.3882, allocations: 209.2 kB / 494.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.21, allocations: 0 / 494.2 MB, free: 3.359 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat does not exist to compare? outputFormat=mat