Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_cpp_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.001477/0.001477, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001164/0.001164, allocations: 92.42 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004187, allocations: 8 kB / 327.1 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3486, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4727, allocations: 75.3 MB / 449.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4731, allocations: 71.97 kB / 450 MB, free: 5.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008714/0.4818, allocations: 2.002 MB / 452 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4819, allocations: 0 / 452 MB, free: 3.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.4819, allocations: 0 / 452 MB, free: 3.285 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.0004909/0.4824, allocations: 355.2 kB / 452.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4824, allocations: 12.03 kB / 452.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.394e-05/0.4825, allocations: 34.55 kB / 452.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.4826, allocations: 4 kB / 452.4 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.4827, allocations: 163.1 kB / 452.6 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4828, allocations: 3.953 kB / 452.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.4828, allocations: 4 kB / 452.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.4829, allocations: 33.69 kB / 452.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4829, allocations: 4 kB / 452.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4829, allocations: 4 kB / 452.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.483, allocations: 0 / 452.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.724e-05/0.483, allocations: 15.92 kB / 452.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.4835, allocations: 256.8 kB / 452.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.4836, allocations: 26.56 kB / 452.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.4836, allocations: 0 / 452.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.4837, allocations: 63.39 kB / 453 MB, free: 2.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.4838, allocations: 3.938 kB / 453 MB, free: 2.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002121/0.484, allocations: 49.69 kB / 453 MB, free: 2.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.484, allocations: 51.41 kB / 453.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.4842, allocations: 101 kB / 453.2 MB, free: 1.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.4842, allocations: 25.7 kB / 453.2 MB, free: 1.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.4843, allocations: 158.5 kB / 453.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.4843, allocations: 11.84 kB / 453.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.4843, allocations: 0 / 453.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4845, allocations: 314.8 kB / 453.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.4845, allocations: 11.98 kB / 453.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.4846, allocations: 21.66 kB / 453.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/0.4846, allocations: 11.95 kB / 453.7 MB, free: 1.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4847, allocations: 0 / 453.7 MB, free: 1.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/0.4848, allocations: 57.59 kB / 453.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4848, allocations: 4 kB / 453.8 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4848, allocations: 4.031 kB / 453.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4849, allocations: 0 / 453.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.485, allocations: 15.92 kB / 453.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.485, allocations: 0 / 453.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.485, allocations: 0 / 453.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.485, allocations: 4 kB / 453.8 MB, free: 1.27 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.0001104/0.4852, allocations: 119.9 kB / 453.9 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.4852, allocations: 3.938 kB / 453.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.4852, allocations: 3.906 kB / 453.9 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4852, allocations: 4 kB / 453.9 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.455e-06/0.4853, allocations: 3.984 kB / 453.9 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4853, allocations: 4 kB / 453.9 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.4856, allocations: 286.5 kB / 454.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4857, allocations: 0 / 454.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.4857, allocations: 7.938 kB / 454.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4857, allocations: 0 / 454.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.4857, allocations: 0 / 454.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4857, allocations: 0 / 454.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4857, allocations: 0 / 454.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.4859, allocations: 159.8 kB / 454.4 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.486, allocations: 77.44 kB / 454.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.486, allocations: 4 kB / 454.4 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.136e-05/0.4861, allocations: 4 kB / 454.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.4861, allocations: 0 / 454.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4861, allocations: 3.984 kB / 454.5 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.961e-05/0.4862, allocations: 87.27 kB / 454.5 MB, free: 428 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4862, allocations: 7.938 kB / 454.5 MB, free: 420 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.4866, allocations: 28 kB / 454.6 MB, free: 392 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.001021/0.4877, allocations: 0.7733 MB / 455.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.4878, allocations: 27.95 kB / 455.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4878, allocations: 0 / 455.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.4879, allocations: 12 kB / 455.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4881, allocations: 0 / 455.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.4888, allocations: 0.508 MB / 455.9 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4892, allocations: 0.6809 MB / 456.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.4892, allocations: 15.42 kB / 456.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of SimCode: time 4.118e-06/0.4892, allocations: 0 / 456.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/3.136, allocations: 1.599 MB / 458.2 MB, free: 12.69 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat