Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.2 MB / 245 MB, free: 7.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009414/0.0009413, allocations: 95.12 kB / 297.3 MB, free: 6.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002351, allocations: 8 kB / 358 MB, free: 9.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2075, allocations: 51.49 MB / 409.5 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08388/0.2915, allocations: 77.01 MB / 486.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.2917, allocations: 75.95 kB / 486.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005144/0.2969, allocations: 2.009 MB / 488.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2969, allocations: 0 / 488.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2969, allocations: 0 / 488.6 MB, free: 11.56 MB / 362.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.0003135/0.2972, allocations: 350.8 kB / 488.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2973, allocations: 8.031 kB / 488.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.2973, allocations: 38.55 kB / 489 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.2974, allocations: 0 / 489 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.2975, allocations: 167 kB / 489.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2975, allocations: 3.953 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2975, allocations: 4 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.116e-05/0.2976, allocations: 37.62 kB / 489.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.2976, allocations: 2.219 kB / 489.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.2976, allocations: 7.938 kB / 489.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.2976, allocations: 0 / 489.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.2976, allocations: 8 kB / 489.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.298, allocations: 260.8 kB / 489.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.298, allocations: 30.5 kB / 489.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.2981, allocations: 0 / 489.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/0.2981, allocations: 51.47 kB / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2982, allocations: 0 / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001485/0.2983, allocations: 57.67 kB / 489.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2984, allocations: 59.34 kB / 489.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.2984, allocations: 101 kB / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2984, allocations: 25.7 kB / 489.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.2985, allocations: 84.12 kB / 489.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.2985, allocations: 11.84 kB / 489.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.2985, allocations: 0 / 489.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.2986, allocations: 318.8 kB / 490.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.2986, allocations: 8 kB / 490.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.2987, allocations: 21.72 kB / 490.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.2987, allocations: 7.953 kB / 490.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2987, allocations: 0 / 490.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.543e-05/0.2988, allocations: 65.53 kB / 490.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2988, allocations: 7.984 kB / 490.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2988, allocations: 0 / 490.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2988, allocations: 0 / 490.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.2989, allocations: 11.94 kB / 490.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2989, allocations: 0 / 490.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.2989, allocations: 4.031 kB / 490.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.2989, allocations: 4 kB / 490.3 MB, free: 9.617 MB / 362.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 6.292e-05/0.299, allocations: 113.8 kB / 490.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.299, allocations: 4 kB / 490.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.299, allocations: 7.891 kB / 490.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.299, allocations: 0 / 490.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2991, allocations: 0 / 490.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2991, allocations: 0 / 490.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.2993, allocations: 294.5 kB / 490.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2993, allocations: 0 / 490.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.2993, allocations: 4 kB / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2993, allocations: 0 / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2993, allocations: 7.922 kB / 490.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2993, allocations: 0 / 490.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2993, allocations: 0 / 490.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.2994, allocations: 151.3 kB / 490.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.2995, allocations: 81.11 kB / 491 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2995, allocations: 4 kB / 491 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.2995, allocations: 384 / 491 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.2996, allocations: 7.984 kB / 491 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2996, allocations: 4 kB / 491 MB, free: 8.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.181e-05/0.2996, allocations: 79.28 kB / 491 MB, free: 8.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2996, allocations: 0 / 491 MB, free: 8.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.2999, allocations: 43.92 kB / 491.1 MB, free: 8.723 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.000636/0.3005, allocations: 0.7755 MB / 491.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.782e-05/0.3006, allocations: 27.92 kB / 491.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3006, allocations: 0 / 491.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.3007, allocations: 4 kB / 491.9 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.3008, allocations: 8 kB / 491.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.3013, allocations: 493.9 kB / 492.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.3015, allocations: 0.6848 MB / 493.1 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.705e-05/0.3015, allocations: 4 kB / 493.1 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.3016, allocations: 15.44 kB / 493.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3016, allocations: 0 / 493.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.3138, allocations: 1.846 MB / 494.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.314, allocations: 215.1 kB / 495.1 MB, free: 4.668 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/1.769, allocations: 0 / 495.1 MB, free: 4.668 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat