Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.09332, allocations: 44.51 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.4925, allocations: 71.07 MB / 379.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4928, allocations: 71.47 kB / 379.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007969/0.5008, allocations: 1.999 MB / 381.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5008, allocations: 3.938 kB / 381.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.5009, allocations: 1.406 kB / 381.7 MB, free: 14.07 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.0003582/0.5012, allocations: 353.3 kB / 382 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5013, allocations: 9.219 kB / 382 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.5013, allocations: 35.5 kB / 382.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.5014, allocations: 4.266 kB / 382.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.5015, allocations: 165.1 kB / 382.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5015, allocations: 1.219 kB / 382.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.5015, allocations: 5.703 kB / 382.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.089e-05/0.5016, allocations: 36.59 kB / 382.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.5017, allocations: 0.9688 kB / 382.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5017, allocations: 3.438 kB / 382.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5017, allocations: 1.219 kB / 382.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.5017, allocations: 6.703 kB / 382.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.5021, allocations: 262.5 kB / 382.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.5022, allocations: 28.27 kB / 382.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.5022, allocations: 1.406 kB / 382.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.5023, allocations: 49.59 kB / 382.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.033e-06/0.5023, allocations: 1.125 kB / 382.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.5025, allocations: 57.59 kB / 382.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.5026, allocations: 52.62 kB / 382.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/0.5026, allocations: 97.67 kB / 382.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.5026, allocations: 34.58 kB / 382.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.5027, allocations: 163.8 kB / 383 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.5027, allocations: 6.328 kB / 383 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.5027, allocations: 0 / 383 MB, free: 12.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.5028, allocations: 320.8 kB / 383.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.5028, allocations: 3.312 kB / 383.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.5029, allocations: 23.11 kB / 383.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.5029, allocations: 12.47 kB / 383.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5029, allocations: 5.75 kB / 383.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.5031, allocations: 52.44 kB / 383.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5031, allocations: 5.844 kB / 383.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5031, allocations: 0 / 383.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5031, allocations: 1.469 kB / 383.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.5032, allocations: 7.234 kB / 383.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.5032, allocations: 5.438 kB / 383.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.5033, allocations: 3.906 kB / 383.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.5033, allocations: 4.422 kB / 383.5 MB, free: 12.32 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 () * 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.412e-05/0.5034, allocations: 118.4 kB / 383.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.5034, allocations: 3.078 kB / 383.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.5034, allocations: 12.39 kB / 383.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5034, allocations: 1.406 kB / 383.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5034, allocations: 0 / 383.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5035, allocations: 1.312 kB / 383.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5037, allocations: 283.1 kB / 383.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5037, allocations: 1.375 kB / 383.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.5037, allocations: 5.125 kB / 383.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5037, allocations: 5.156 kB / 383.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5038, allocations: 1.375 kB / 383.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5038, allocations: 2.812 kB / 383.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5038, allocations: 0 / 383.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.5039, allocations: 148.8 kB / 384 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.5039, allocations: 82.2 kB / 384.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.504, allocations: 2.609 kB / 384.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.504, allocations: 3.188 kB / 384.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.5041, allocations: 5.438 kB / 384.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5041, allocations: 2.609 kB / 384.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.5041, allocations: 85.95 kB / 384.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5041, allocations: 0 / 384.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004058/0.5046, allocations: 32.73 kB / 384.2 MB, free: 11.56 MB / 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 () * 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.0007384/0.5053, allocations: 0.792 MB / 385 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5054, allocations: 18.05 kB / 385.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5054, allocations: 5.094 kB / 385.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.5055, allocations: 13.73 kB / 385.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.5057, allocations: 2.203 kB / 385.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.5062, allocations: 0.5056 MB / 385.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.5064, allocations: 0.6823 MB / 386.3 MB, free: 9.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.5064, allocations: 11.88 kB / 386.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5064, allocations: 1.062 kB / 386.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.668/3.175, allocations: 1.589 MB / 387.9 MB, free: 9.449 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat