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.001032/0.001032, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.387/1.387, allocations: 221.3 MB / 235.5 MB, free: 2.926 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.001057/0.001057, allocations: 91.73 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.071e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4897, allocations: 76.14 MB / 470.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.49, allocations: 67.97 kB / 470.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005687/0.4957, allocations: 2 MB / 472.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4957, allocations: 0 / 472.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4957, allocations: 0 / 472.5 MB, free: 9.285 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004368/0.4962, allocations: 346.4 kB / 472.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4962, allocations: 12.03 kB / 472.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.928e-05/0.4963, allocations: 31.34 kB / 472.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.4964, allocations: 7.891 kB / 472.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.4965, allocations: 167.1 kB / 473.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4966, allocations: 4 kB / 473.1 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.4966, allocations: 0 / 473.1 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4967, allocations: 37.69 kB / 473.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4967, allocations: 0 / 473.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4967, allocations: 7.953 kB / 473.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4967, allocations: 0 / 473.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.4968, allocations: 7.938 kB / 473.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.4972, allocations: 253 kB / 473.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.4973, allocations: 26.56 kB / 473.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.4974, allocations: 8.922 kB / 473.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.4974, allocations: 0 / 473.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.4975, allocations: 59.3 kB / 473.5 MB, free: 8.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.4975, allocations: 0 / 473.5 MB, free: 8.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002139/0.4977, allocations: 57.59 kB / 473.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4978, allocations: 51.41 kB / 473.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4979, allocations: 104.9 kB / 473.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.498, allocations: 25.7 kB / 473.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.498, allocations: 84.14 kB / 473.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.498, allocations: 11.84 kB / 473.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.4981, allocations: 3.938 kB / 473.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4982, allocations: 314.8 kB / 474.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.4982, allocations: 11.98 kB / 474.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.4983, allocations: 25.97 kB / 474.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.4983, allocations: 7.938 kB / 474.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4983, allocations: 0 / 474.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.388e-05/0.4984, allocations: 53.69 kB / 474.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4984, allocations: 11.95 kB / 474.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4984, allocations: 3.984 kB / 474.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4985, allocations: 0 / 474.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.4985, allocations: 15.95 kB / 474.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4986, allocations: 4 kB / 474.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.4986, allocations: 0 / 474.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4986, allocations: 0 / 474.3 MB, free: 7.336 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.253e-05/0.4987, allocations: 105 kB / 474.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.4987, allocations: 3.906 kB / 474.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.4987, allocations: 11.98 kB / 474.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4987, allocations: 4 kB / 474.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4987, allocations: 0 / 474.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4988, allocations: 0 / 474.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.499, allocations: 294.5 kB / 474.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.499, allocations: 0 / 474.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.499, allocations: 0 / 474.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.499, allocations: 3.953 kB / 474.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.4991, allocations: 0 / 474.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4991, allocations: 4 kB / 474.7 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4991, allocations: 3.938 kB / 474.7 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.4992, allocations: 147.5 kB / 474.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.4993, allocations: 85.2 kB / 474.9 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.4993, allocations: 3.953 kB / 474.9 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.4993, allocations: 0 / 474.9 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.4994, allocations: 3.984 kB / 474.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.4994, allocations: 4 kB / 474.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.4994, allocations: 87.27 kB / 475 MB, free: 6.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4994, allocations: 0 / 475 MB, free: 6.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.4997, allocations: 32 kB / 475 MB, free: 6.461 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.0008189/0.5005, allocations: 0.7722 MB / 475.8 MB, free: 5.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5006, allocations: 23.92 kB / 475.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5006, allocations: 0 / 475.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.5007, allocations: 11.94 kB / 475.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.5008, allocations: 7.953 kB / 475.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.5012, allocations: 114.5 kB / 476 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5015, allocations: 0.6809 MB / 476.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.5016, allocations: 12.05 kB / 476.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.5016, allocations: 15.38 kB / 476.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5016, allocations: 0 / 476.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.5148, allocations: 1.847 MB / 478.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.5151, allocations: 185.4 kB / 478.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.136, allocations: 3.938 kB / 478.7 MB, free: 2.789 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