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.001331/0.001332, allocations: 177.8 kB / 8.697 MB, free: 380 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009328/0.0009325, allocations: 86.38 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.735e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.0903, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3044/0.3947, allocations: 74.79 MB / 438 MB, free: 4.539 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.3951, allocations: 65.77 kB / 438 MB, free: 4.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005586/0.4007, allocations: 1.981 MB / 440 MB, free: 2.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4007, allocations: 3.156 kB / 440 MB, free: 2.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.4007, allocations: 4 kB / 440 MB, free: 2.809 MB / 314.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.0003577/0.4011, allocations: 342.1 kB / 440.3 MB, free: 2.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4011, allocations: 8.031 kB / 440.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.4012, allocations: 8.625 kB / 440.4 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.4013, allocations: 163.1 kB / 440.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4014, allocations: 3.938 kB / 440.5 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.4014, allocations: 10.7 kB / 440.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.534e-05/0.4014, allocations: 4 kB / 440.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.296e-05/0.4015, allocations: 37.38 kB / 440.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4015, allocations: 0 / 440.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4015, allocations: 0 / 440.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4015, allocations: 0 / 440.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.4019, allocations: 221.1 kB / 440.8 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.4019, allocations: 30.22 kB / 440.8 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.402, allocations: 8.922 kB / 440.8 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.402, allocations: 4 kB / 440.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.4021, allocations: 46.97 kB / 440.9 MB, free: 1.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.4021, allocations: 0 / 440.9 MB, free: 1.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.4023, allocations: 53.38 kB / 440.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4023, allocations: 51.41 kB / 441 MB, free: 1.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.4024, allocations: 100.7 kB / 441.1 MB, free: 1.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4024, allocations: 25.7 kB / 441.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.4025, allocations: 91.73 kB / 441.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.4025, allocations: 0 / 441.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.4025, allocations: 0 / 441.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4026, allocations: 314.5 kB / 441.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.4026, allocations: 4 kB / 441.5 MB, free: 1.152 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.4026, allocations: 27.67 kB / 441.5 MB, free: 1.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.4027, allocations: 8 kB / 441.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4027, allocations: 0 / 441.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001026/0.4028, allocations: 64.73 kB / 441.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4028, allocations: 4 kB / 441.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4029, allocations: 3.938 kB / 441.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4029, allocations: 0 / 441.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.4029, allocations: 11.98 kB / 441.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4029, allocations: 0 / 441.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.403, allocations: 32 / 441.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.403, allocations: 8 kB / 441.6 MB, free: 1.027 MB / 314.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 8.075e-05/0.4031, allocations: 104.9 kB / 441.7 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.817e-05/0.4031, allocations: 60.52 kB / 441.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.4032, allocations: 3.906 kB / 441.8 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.4032, allocations: 4.484 kB / 441.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4032, allocations: 3.984 kB / 441.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4032, allocations: 3.938 kB / 441.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4032, allocations: 0 / 441.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.4034, allocations: 270.5 kB / 442.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4034, allocations: 3.984 kB / 442.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.4035, allocations: 0 / 442.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4035, allocations: 0 / 442.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4035, allocations: 4 kB / 442.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.4035, allocations: 3.938 kB / 442.1 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4035, allocations: 0 / 442.1 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.4036, allocations: 142.8 kB / 442.2 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.4036, allocations: 89.02 kB / 442.3 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4037, allocations: 0 / 442.3 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.4037, allocations: 0 / 442.3 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.4037, allocations: 3.984 kB / 442.3 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.4038, allocations: 4 kB / 442.3 MB, free: 272 kB / 314.7 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.4038, allocations: 82.97 kB / 442.4 MB, free: 192 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4038, allocations: 0 / 442.4 MB, free: 192 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.4041, allocations: 31.92 kB / 442.4 MB, free: 160 kB / 314.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.0007641/0.4048, allocations: 0.7846 MB / 443.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.847e-05/0.4049, allocations: 15.69 kB / 443.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4049, allocations: 0 / 443.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.405, allocations: 7.938 kB / 443.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.4051, allocations: 11.67 kB / 443.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.4054, allocations: 97.28 kB / 443.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.4057, allocations: 0.6845 MB / 444 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.192e-05/0.4057, allocations: 16.05 kB / 444 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.4058, allocations: 7.438 kB / 444 MB, free: 14.47 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4058, allocations: 0 / 444 MB, free: 14.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.4268, allocations: 1.56 MB / 445.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.427, allocations: 171.8 kB / 445.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.004, allocations: 4 kB / 445.8 MB, free: 12.72 MB / 330.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