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.001366/0.001366, allocations: 180 kB / 16.39 MB, free: 5.762 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.29/1.29, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009701/0.0009701, allocations: 93.81 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002775, allocations: 11.94 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.261, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09527/0.3564, allocations: 76.2 MB / 477.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.3567, allocations: 73.2 kB / 477.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005511/0.3622, allocations: 2.015 MB / 479.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3622, allocations: 0 / 479.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.3622, allocations: 2.25 kB / 479.9 MB, free: 2.191 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.0003758/0.3626, allocations: 359.1 kB / 480.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3627, allocations: 12.03 kB / 480.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/0.3628, allocations: 30.56 kB / 480.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.3628, allocations: 0 / 480.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3629, allocations: 170.8 kB / 480.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3629, allocations: 0 / 480.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.363, allocations: 11.98 kB / 480.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3631, allocations: 33.69 kB / 480.5 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3631, allocations: 0 / 480.5 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3631, allocations: 3.953 kB / 480.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3631, allocations: 0 / 480.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.3632, allocations: 15.92 kB / 480.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3635, allocations: 252.9 kB / 480.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.3636, allocations: 22.56 kB / 480.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.3636, allocations: 0 / 480.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.3637, allocations: 59.36 kB / 480.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3637, allocations: 0 / 480.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001708/0.3639, allocations: 53.69 kB / 480.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.364, allocations: 55.41 kB / 480.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.364, allocations: 101 kB / 481 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3641, allocations: 25.7 kB / 481 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.3641, allocations: 80.14 kB / 481.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.3641, allocations: 15.84 kB / 481.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.3642, allocations: 0 / 481.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.3642, allocations: 314.8 kB / 481.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.3643, allocations: 8 kB / 481.5 MB, free: 396 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.3643, allocations: 21.72 kB / 481.5 MB, free: 368 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.3643, allocations: 15.92 kB / 481.5 MB, free: 352 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3644, allocations: 0 / 481.5 MB, free: 352 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.31e-05/0.3645, allocations: 57.59 kB / 481.5 MB, free: 288 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3645, allocations: 4 kB / 481.6 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3645, allocations: 3.953 kB / 481.6 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3645, allocations: 4 kB / 481.6 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.3646, allocations: 7.938 kB / 481.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3646, allocations: 32 / 481.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.3646, allocations: 11.94 kB / 481.6 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3646, allocations: 0 / 481.6 MB, free: 256 kB / 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 () * Number of clocked 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.598e-05/0.3647, allocations: 121.8 kB / 481.7 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.3647, allocations: 0 / 481.7 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.3648, allocations: 3.906 kB / 481.7 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3648, allocations: 3.953 kB / 481.7 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3648, allocations: 4.375 kB / 481.7 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3648, allocations: 0 / 481.7 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.365, allocations: 290.8 kB / 482 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3651, allocations: 8.031 kB / 482 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.3651, allocations: 7.984 kB / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3651, allocations: 3.953 kB / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3651, allocations: 0 / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3651, allocations: 0 / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3651, allocations: 0 / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.3652, allocations: 143.5 kB / 482.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.3653, allocations: 85.11 kB / 482.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3653, allocations: 7.953 kB / 482.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.3654, allocations: 3.984 kB / 482.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.3654, allocations: 0 / 482.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3654, allocations: 0 / 482.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.3654, allocations: 83.28 kB / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3654, allocations: 0 / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.3657, allocations: 39.92 kB / 482.4 MB, free: 15.36 MB / 362.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 () * Number of clocked 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.0007466/0.3665, allocations: 0.7679 MB / 483.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.227e-05/0.3666, allocations: 27.92 kB / 483.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3666, allocations: 0 / 483.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.3666, allocations: 15.98 kB / 483.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.3668, allocations: 11.88 kB / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.3673, allocations: 492.8 kB / 483.7 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.3676, allocations: 0.6848 MB / 484.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.463e-05/0.3676, allocations: 4 kB / 484.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.3677, allocations: 15.42 kB / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3677, allocations: 0 / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.3816, allocations: 1.842 MB / 486.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.3819, allocations: 206.9 kB / 486.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.118, allocations: 3.938 kB / 486.4 MB, free: 11.31 MB / 362.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