Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",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.00107/0.00107, allocations: 176.4 kB / 8.348 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.545/1.545, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0008055/0.0008054, allocations: 87.61 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.736e-05, allocations: 4 kB / 337.1 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 50.41 MB / 387.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4423, allocations: 75.47 MB / 463 MB, free: 3.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4426, allocations: 71.95 kB / 463.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005605/0.4483, allocations: 2.001 MB / 465.1 MB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4483, allocations: 0 / 465.1 MB, free: 1.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4483, allocations: 0 / 465.1 MB, free: 1.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003769/0.4487, allocations: 342.5 kB / 465.4 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4488, allocations: 8.031 kB / 465.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.4488, allocations: 4.781 kB / 465.4 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.4489, allocations: 178.9 kB / 465.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.449, allocations: 0 / 465.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.449, allocations: 4 kB / 465.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.341e-05/0.449, allocations: 1.156 kB / 465.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.604e-05/0.4491, allocations: 29.7 kB / 465.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4491, allocations: 0.6875 kB / 465.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4491, allocations: 7.938 kB / 465.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4491, allocations: 4 kB / 465.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.4494, allocations: 221.5 kB / 465.9 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.4495, allocations: 30.52 kB / 465.9 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.4495, allocations: 12.91 kB / 465.9 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.4495, allocations: 0 / 465.9 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.4496, allocations: 55.41 kB / 466 MB, free: 224 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4497, allocations: 0 / 466 MB, free: 224 kB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001456/0.4498, allocations: 49.64 kB / 466 MB, free: 168 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.4499, allocations: 51.41 kB / 466.1 MB, free: 104 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.4499, allocations: 96.94 kB / 466.2 MB, free: 0 / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.45, allocations: 29.81 kB / 466.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.45, allocations: 88.08 kB / 466.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.4501, allocations: 7.891 kB / 466.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4501, allocations: 4 kB / 466.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.4502, allocations: 310.8 kB / 466.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.4502, allocations: 8 kB / 466.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.4502, allocations: 17.72 kB / 466.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.4503, allocations: 11.98 kB / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4503, allocations: 0 / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.559e-05/0.4504, allocations: 53.59 kB / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4504, allocations: 13.38 kB / 466.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4504, allocations: 0 / 466.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4505, allocations: 4 kB / 466.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.4505, allocations: 4 kB / 466.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4505, allocations: 3.953 kB / 466.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.4506, allocations: 0 / 466.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.4506, allocations: 7.938 kB / 466.7 MB, free: 15.41 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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.453e-05/0.4507, allocations: 108.9 kB / 466.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.889e-05/0.4507, allocations: 49.69 kB / 466.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.4507, allocations: 7.906 kB / 466.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.4508, allocations: 12.3 kB / 466.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4508, allocations: 4 kB / 466.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4508, allocations: 3.938 kB / 466.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4508, allocations: 0 / 466.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.451, allocations: 251.2 kB / 467.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.451, allocations: 384 / 467.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.4511, allocations: 0 / 467.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4511, allocations: 4 kB / 467.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4511, allocations: 7.953 kB / 467.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4511, allocations: 4 kB / 467.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4511, allocations: 3.984 kB / 467.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.4512, allocations: 151.5 kB / 467.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.4513, allocations: 81.11 kB / 467.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.4513, allocations: 0 / 467.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.4513, allocations: 3.953 kB / 467.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.4514, allocations: 0 / 467.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4514, allocations: 8 kB / 467.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.4514, allocations: 87.27 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4514, allocations: 0 / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002753/0.4517, allocations: 28 kB / 467.5 MB, free: 14.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006751/0.4524, allocations: 0.7753 MB / 468.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.4525, allocations: 16 kB / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4525, allocations: 0 / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.4525, allocations: 12.06 kB / 468.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.4527, allocations: 5.359 kB / 468.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.453, allocations: 117.4 kB / 468.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.4532, allocations: 0.6807 MB / 469.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.06e-05/0.4533, allocations: 7.984 kB / 469.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.4533, allocations: 11.44 kB / 469.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4533, allocations: 0 / 469.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.4746, allocations: 1.555 MB / 470.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/0.4749, allocations: 168.2 kB / 470.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.011, allocations: 0 / 470.9 MB, free: 11.09 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat