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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 94.36 kB / 16.94 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 184.8 kB / 17.83 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.00044, allocations: 8 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08451/0.08497, allocations: 47.58 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001701/0.08672, allocations: 1.069 MB / 329.5 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.0875, allocations: 345.8 kB / 329.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.08756, allocations: 4 kB / 329.8 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.08759, allocations: 4 kB / 329.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.08764, allocations: 0 / 329.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.08811, allocations: 67.73 kB / 329.9 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.08818, allocations: 15.92 kB / 329.9 MB, free: 2.504 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.08824, allocations: 3.984 kB / 329.9 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.08827, allocations: 4 kB / 329.9 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.0883, allocations: 7.938 kB / 329.9 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.08832, allocations: 0 / 329.9 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.08849, allocations: 59.92 kB / 330 MB, free: 2.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.08852, allocations: 4 kB / 330 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.08856, allocations: 29.7 kB / 330 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.08872, allocations: 63.84 kB / 330.1 MB, free: 2.328 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.08873, allocations: 3.938 kB / 330.1 MB, free: 2.324 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08874, allocations: 0 / 330.1 MB, free: 2.324 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.08874, allocations: 0 / 330.1 MB, free: 2.324 MB / 270.1 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.0004048/0.08915, allocations: 343.5 kB / 330.4 MB, free: 1.941 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.0892, allocations: 12.03 kB / 330.4 MB, free: 1.93 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.633e-05/0.08928, allocations: 30.56 kB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.08931, allocations: 3.906 kB / 330.5 MB, free: 1.887 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.08945, allocations: 163.1 kB / 330.6 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.08947, allocations: 4 kB / 330.6 MB, free: 1.684 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.08949, allocations: 11.95 kB / 330.6 MB, free: 1.672 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.0896, allocations: 33.69 kB / 330.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.08961, allocations: 3.938 kB / 330.7 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.08963, allocations: 0 / 330.7 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.08964, allocations: 0 / 330.7 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.08967, allocations: 19.91 kB / 330.7 MB, free: 1.609 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.09011, allocations: 252.9 kB / 330.9 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.421e-05/0.09019, allocations: 26.56 kB / 331 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.09021, allocations: 0 / 331 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.09034, allocations: 55.41 kB / 331 MB, free: 1.211 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.09035, allocations: 0 / 331 MB, free: 1.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.00017/0.09053, allocations: 53.69 kB / 331.1 MB, free: 1.152 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.09058, allocations: 51.41 kB / 331.1 MB, free: 1.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.09067, allocations: 113.8 kB / 331.2 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.09069, allocations: 25.7 kB / 331.3 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.09075, allocations: 88.14 kB / 331.4 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.09077, allocations: 11.88 kB / 331.4 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.09078, allocations: 0 / 331.4 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.0909, allocations: 310.8 kB / 331.7 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.09093, allocations: 8 kB / 331.7 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.09097, allocations: 29.64 kB / 331.7 MB, free: 492 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.091, allocations: 8 kB / 331.7 MB, free: 484 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.09101, allocations: 3.953 kB / 331.7 MB, free: 480 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.053e-05/0.09111, allocations: 53.69 kB / 331.8 MB, free: 420 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.09113, allocations: 4 kB / 331.8 MB, free: 416 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.09114, allocations: 4 kB / 331.8 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.09116, allocations: 0 / 331.8 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.09123, allocations: 8.312 kB / 331.8 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.09124, allocations: 4 kB / 331.8 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.09127, allocations: 0 / 331.8 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.09128, allocations: 8.031 kB / 331.8 MB, free: 392 kB / 270.1 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 8.687e-05/0.09137, allocations: 117.8 kB / 331.9 MB, free: 264 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.09139, allocations: 7.859 kB / 331.9 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.09142, allocations: 7.906 kB / 331.9 MB, free: 244 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.09143, allocations: 3.938 kB / 331.9 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.09144, allocations: 0 / 331.9 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.09145, allocations: 0 / 331.9 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.09169, allocations: 290.5 kB / 332.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.0917, allocations: 8 kB / 332.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.09172, allocations: 0 / 332.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.09173, allocations: 3.938 kB / 332.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.09174, allocations: 0 / 332.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.09175, allocations: 0 / 332.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09176, allocations: 4 kB / 332.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.09187, allocations: 143.5 kB / 332.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.09192, allocations: 81.44 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.09194, allocations: 7.984 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.09199, allocations: 0 / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.09202, allocations: 0 / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.09204, allocations: 7.984 kB / 332.5 MB, free: 15.61 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.09208, allocations: 83.28 kB / 332.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09209, allocations: 3.938 kB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.09235, allocations: 23.98 kB / 332.6 MB, free: 15.5 MB / 286.1 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.0007194/0.09308, allocations: 0.7835 MB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.09319, allocations: 31.95 kB / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0932, allocations: 0 / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.09322, allocations: 8 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.09335, allocations: 4 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.09388, allocations: 482 kB / 333.9 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.09412, allocations: 0.6848 MB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.769e-05/0.09415, allocations: 4 kB / 334.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.09418, allocations: 15.42 kB / 334.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09419, allocations: 4 kB / 334.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.1059, allocations: 1.657 MB / 336.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.1062, allocations: 225.7 kB / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.711, allocations: 0 / 336.5 MB, free: 11.5 MB / 286.1 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) Environment - environmentSimulation: 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