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.001326/0.001326, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.526/1.526, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000866/0.0008664, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.929e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 47.58 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.431, allocations: 76.05 MB / 446.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4313, allocations: 66.66 kB / 446.2 MB, free: 1.164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01141/0.4427, allocations: 4.13 MB / 450.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4427, allocations: 0 / 450.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4428, allocations: 4 kB / 450.4 MB, free: 13.58 MB / 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.0005862/0.4434, allocations: 433.3 kB / 450.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4434, allocations: 11.97 kB / 450.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.4435, allocations: 37.94 kB / 450.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.4438, allocations: 39.78 kB / 450.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4439, allocations: 194.3 kB / 451.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.444, allocations: 15.12 kB / 451.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.444, allocations: 8 kB / 451.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.4442, allocations: 115.9 kB / 451.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4442, allocations: 0 / 451.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4443, allocations: 0 / 451.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4443, allocations: 0 / 451.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.4444, allocations: 37.55 kB / 451.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.4451, allocations: 481.4 kB / 451.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4453, allocations: 95.5 kB / 451.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.4454, allocations: 54.62 kB / 451.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4454, allocations: 0 / 451.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4456, allocations: 135.5 kB / 452 MB, free: 11.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.4456, allocations: 0 / 452 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003073/0.4459, allocations: 165.3 kB / 452.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.446, allocations: 96.45 kB / 452.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4462, allocations: 166.6 kB / 452.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.4462, allocations: 47.94 kB / 452.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.4463, allocations: 103.5 kB / 452.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4463, allocations: 37.83 kB / 452.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.4464, allocations: 9.875 kB / 452.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4465, allocations: 333.6 kB / 452.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.4466, allocations: 75.06 kB / 453 MB, free: 10.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4468, allocations: 103.3 kB / 453.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4469, allocations: 100 kB / 453.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4469, allocations: 0 / 453.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003676/0.4473, allocations: 255.5 kB / 453.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4473, allocations: 4 kB / 453.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.4474, allocations: 0 / 453.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4474, allocations: 7.938 kB / 453.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.4475, allocations: 27.73 kB / 453.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4476, allocations: 64 / 453.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.4476, allocations: 31.44 kB / 453.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.4477, allocations: 15.94 kB / 453.5 MB, free: 10.53 MB / 330.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 () * 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.0001068/0.4478, allocations: 135.4 kB / 453.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.4478, allocations: 11.81 kB / 453.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.4479, allocations: 13.22 kB / 453.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4479, allocations: 0 / 453.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4479, allocations: 4 kB / 453.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4479, allocations: 7.984 kB / 453.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.4481, allocations: 211.7 kB / 453.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4481, allocations: 4 kB / 453.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.4482, allocations: 15.92 kB / 453.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4482, allocations: 0 / 453.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4482, allocations: 0 / 453.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4482, allocations: 4 kB / 453.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4482, allocations: 0 / 453.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.4485, allocations: 211.7 kB / 454.1 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.4486, allocations: 96.86 kB / 454.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.4486, allocations: 11.61 kB / 454.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.4487, allocations: 7.984 kB / 454.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.4488, allocations: 15.73 kB / 454.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.4488, allocations: 8 kB / 454.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.4489, allocations: 126.4 kB / 454.4 MB, free: 9.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4489, allocations: 0 / 454.4 MB, free: 9.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.4492, allocations: 67.23 kB / 454.5 MB, free: 9.586 MB / 330.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]) * 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.001039/0.4502, allocations: 1.005 MB / 455.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.4506, allocations: 222.2 kB / 455.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4506, allocations: 0 / 455.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.4507, allocations: 49.73 kB / 455.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.4508, allocations: 9.375 kB / 455.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.4514, allocations: 249.2 kB / 456 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4517, allocations: 0.7187 MB / 456.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.4518, allocations: 12.88 kB / 456.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4518, allocations: 38.67 kB / 456.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4518, allocations: 0 / 456.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.4678, allocations: 3.737 MB / 460.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.4681, allocations: 197.4 kB / 460.7 MB, free: 3.391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.081, allocations: 0 / 460.7 MB, free: 3.391 MB / 330.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