Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",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.001189/0.00119, allocations: 181.6 kB / 17.01 MB, free: 5.125 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.381/1.381, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008985/0.0008986, allocations: 89.08 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003581, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2682, allocations: 47.58 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09817/0.3664, allocations: 75.29 MB / 451.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.3668, allocations: 75.94 kB / 451.3 MB, free: 5.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005993/0.3728, allocations: 2.002 MB / 453.3 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3728, allocations: 0 / 453.3 MB, free: 3.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3728, allocations: 4 kB / 453.3 MB, free: 3.281 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.0004579/0.3733, allocations: 347.2 kB / 453.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.3734, allocations: 15.97 kB / 453.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.628e-05/0.3735, allocations: 34.56 kB / 453.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.3735, allocations: 0 / 453.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3737, allocations: 163.1 kB / 453.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3737, allocations: 7.953 kB / 453.8 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3737, allocations: 4 kB / 453.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3738, allocations: 37.69 kB / 453.9 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3738, allocations: 4 kB / 453.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3738, allocations: 0 / 453.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3739, allocations: 0 / 453.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.3739, allocations: 11.92 kB / 453.9 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.3743, allocations: 256.8 kB / 454.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.3744, allocations: 26.56 kB / 454.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3744, allocations: 4 kB / 454.2 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.3746, allocations: 51.47 kB / 454.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.206e-06/0.3746, allocations: 3.938 kB / 454.2 MB, free: 2.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001899/0.3748, allocations: 53.62 kB / 454.3 MB, free: 2.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.3748, allocations: 51.41 kB / 454.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.3749, allocations: 101 kB / 454.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3749, allocations: 25.7 kB / 454.5 MB, free: 1.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.375, allocations: 90.48 kB / 454.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.375, allocations: 11.84 kB / 454.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.375, allocations: 0 / 454.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3752, allocations: 318.8 kB / 454.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.3752, allocations: 4 kB / 454.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.3753, allocations: 17.72 kB / 454.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.3753, allocations: 23.88 kB / 454.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3753, allocations: 0 / 454.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001137/0.3754, allocations: 61.77 kB / 455 MB, free: 1.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3755, allocations: 4 kB / 455 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3755, allocations: 0 / 455 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3755, allocations: 4 kB / 455 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.3756, allocations: 11.94 kB / 455 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3756, allocations: 0 / 455 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.3756, allocations: 4 kB / 455 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3756, allocations: 0 / 455 MB, free: 1.34 MB / 330.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 0.0001003/0.3757, allocations: 117.8 kB / 455.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.3758, allocations: 4.031 kB / 455.1 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.3758, allocations: 7.906 kB / 455.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3758, allocations: 0 / 455.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3758, allocations: 4 kB / 455.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3758, allocations: 0 / 455.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3761, allocations: 282.6 kB / 455.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.3761, allocations: 3.984 kB / 455.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/0.3761, allocations: 11.88 kB / 455.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3761, allocations: 0 / 455.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3761, allocations: 4 kB / 455.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3761, allocations: 384 / 455.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3762, allocations: 3.938 kB / 455.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.3763, allocations: 151.4 kB / 455.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.3763, allocations: 77.11 kB / 455.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3764, allocations: 8 kB / 455.7 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.3764, allocations: 3.984 kB / 455.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.3764, allocations: 0 / 455.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3765, allocations: 4 kB / 455.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.354e-05/0.3765, allocations: 83.28 kB / 455.7 MB, free: 500 kB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3765, allocations: 4 kB / 455.7 MB, free: 496 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.3768, allocations: 31.98 kB / 455.8 MB, free: 464 kB / 330.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.0008947/0.3777, allocations: 0.7713 MB / 456.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3779, allocations: 19.98 kB / 456.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3779, allocations: 3.938 kB / 456.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.3779, allocations: 8 kB / 456.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.378, allocations: 12.03 kB / 456.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.3787, allocations: 490.4 kB / 457.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3789, allocations: 0.6887 MB / 457.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.379, allocations: 4 kB / 457.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.379, allocations: 11.42 kB / 457.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.379, allocations: 3.938 kB / 457.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.3928, allocations: 1.863 MB / 459.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.3931, allocations: 219.2 kB / 459.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.998, allocations: 0 / 459.9 MB, free: 12.29 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat