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.001345/0.001345, allocations: 177.1 kB / 8.35 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.514/1.514, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009213/0.0009214, allocations: 82.06 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.13e-05, allocations: 4 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 50.41 MB / 387.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/0.4339, allocations: 76.33 MB / 463.9 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4342, allocations: 75.95 kB / 464 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.4452, allocations: 4.185 MB / 468.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4452, allocations: 0 / 468.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4453, allocations: 4 kB / 468.1 MB, free: 14.24 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005419/0.4458, allocations: 435.4 kB / 468.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4459, allocations: 8.031 kB / 468.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.4461, allocations: 39.78 kB / 468.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.4463, allocations: 194.8 kB / 468.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4464, allocations: 4 kB / 468.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.4464, allocations: 4 kB / 468.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.986e-05/0.4465, allocations: 35.98 kB / 468.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4466, allocations: 95.36 kB / 468.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4467, allocations: 3.938 kB / 468.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4467, allocations: 7.953 kB / 469 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4467, allocations: 3.938 kB / 469 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.4473, allocations: 358.1 kB / 469.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.4475, allocations: 97.25 kB / 469.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.4476, allocations: 45.72 kB / 469.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4476, allocations: 4.031 kB / 469.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.4478, allocations: 122.2 kB / 469.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.4478, allocations: 0 / 469.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003151/0.4481, allocations: 173.4 kB / 469.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.4482, allocations: 101.3 kB / 469.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.4483, allocations: 158.4 kB / 470 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.4484, allocations: 41.69 kB / 470 MB, free: 12.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.4485, allocations: 108.5 kB / 470.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.4485, allocations: 43.48 kB / 470.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.4486, allocations: 0 / 470.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4487, allocations: 326.8 kB / 470.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.4488, allocations: 72.48 kB / 470.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.449, allocations: 103.3 kB / 470.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.4492, allocations: 91.92 kB / 470.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4492, allocations: 0.75 kB / 470.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004162/0.4496, allocations: 237.3 kB / 471 MB, free: 11.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4496, allocations: 8 kB / 471 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.4497, allocations: 0 / 471 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4497, allocations: 8.062 kB / 471 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4499, allocations: 31.88 kB / 471 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.4499, allocations: 0 / 471 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.45, allocations: 23.73 kB / 471.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.45, allocations: 15.94 kB / 471.1 MB, free: 11.05 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.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,$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,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete 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.0001161/0.4501, allocations: 128 kB / 471.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002156/0.4503, allocations: 165.4 kB / 471.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.4504, allocations: 11.91 kB / 471.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.4504, allocations: 17.8 kB / 471.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4504, allocations: 3.984 kB / 471.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4504, allocations: 0 / 471.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4504, allocations: 0 / 471.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.4506, allocations: 186.1 kB / 471.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4506, allocations: 0 / 471.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.4507, allocations: 15.92 kB / 471.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4507, allocations: 8 kB / 471.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.4507, allocations: 0 / 471.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4507, allocations: 0 / 471.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-05/0.4508, allocations: 11.95 kB / 471.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.451, allocations: 215.3 kB / 471.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.4511, allocations: 85.02 kB / 471.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.4511, allocations: 11.98 kB / 471.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.213e-05/0.4512, allocations: 11.95 kB / 471.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.4513, allocations: 19.97 kB / 472 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.4513, allocations: 4 kB / 472 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4514, allocations: 119.3 kB / 472.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4514, allocations: 0 / 472.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.4518, allocations: 63.83 kB / 472.1 MB, free: 9.895 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,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * 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.001108/0.4529, allocations: 0.9783 MB / 473.1 MB, free: 8.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.4532, allocations: 211.5 kB / 473.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4532, allocations: 0.6562 kB / 473.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.4533, allocations: 56.09 kB / 473.4 MB, free: 8.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.4535, allocations: 7.938 kB / 473.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.454, allocations: 227.9 kB / 473.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4544, allocations: 0.7197 MB / 474.3 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.996e-05/0.4545, allocations: 20.8 kB / 474.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.4546, allocations: 43.42 kB / 474.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4546, allocations: 3.938 kB / 474.4 MB, free: 7.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.4832, allocations: 3.314 MB / 477.7 MB, free: 4.262 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/0.4835, allocations: 168.1 kB / 477.9 MB, free: 4.062 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.164, allocations: 0 / 477.9 MB, free: 4.062 MB / 346.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