Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.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.Densities,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",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.001579/0.001579, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.065/2.065, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001153/0.001153, allocations: 95.55 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.0005249, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4046, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.5434, allocations: 76.17 MB / 450.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5438, allocations: 71.97 kB / 450.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007855/0.5517, allocations: 1.704 MB / 452.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5517, allocations: 0 / 452.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.5517, allocations: 0 / 452.6 MB, free: 2.695 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004896/0.5522, allocations: 383 kB / 453 MB, free: 2.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5523, allocations: 8.031 kB / 453 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.5524, allocations: 38.56 kB / 453 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/0.5529, allocations: 55.77 kB / 453.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.5531, allocations: 171 kB / 453.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.5531, allocations: 4.188 kB / 453.2 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.5531, allocations: 15.89 kB / 453.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.5535, allocations: 94.73 kB / 453.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5536, allocations: 7.938 kB / 453.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.5536, allocations: 8 kB / 453.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5536, allocations: 0 / 453.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.554, allocations: 79.94 kB / 453.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.555, allocations: 388.4 kB / 453.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.5554, allocations: 86.53 kB / 453.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.5554, allocations: 3.984 kB / 453.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.5554, allocations: 34.5 kB / 453.9 MB, free: 1.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 4.86e-06/0.5554, allocations: 4 kB / 453.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006836/0.5561, allocations: 137.8 kB / 454.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.5562, allocations: 63.36 kB / 454.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.5563, allocations: 105.2 kB / 454.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5564, allocations: 29.7 kB / 454.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.5565, allocations: 170.4 kB / 454.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.5565, allocations: 11.72 kB / 454.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.5565, allocations: 8 kB / 454.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5567, allocations: 314.8 kB / 454.8 MB, free: 312 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.5569, allocations: 31.98 kB / 454.8 MB, free: 280 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.5571, allocations: 35.91 kB / 454.8 MB, free: 244 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.5573, allocations: 31.98 kB / 454.9 MB, free: 212 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5573, allocations: 4 kB / 454.9 MB, free: 208 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004415/0.5577, allocations: 97.66 kB / 454.9 MB, free: 104 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5578, allocations: 4 kB / 455 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5578, allocations: 0 / 455 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5578, allocations: 8 kB / 455 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.5581, allocations: 23.97 kB / 455 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5581, allocations: 0 / 455 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.5582, allocations: 23.88 kB / 455 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.5583, allocations: 0 / 455 MB, free: 44 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001389/0.5584, allocations: 113.8 kB / 455.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.5585, allocations: 11.91 kB / 455.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.559, allocations: 121.5 kB / 455.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.559, allocations: 0 / 455.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.559, allocations: 4 kB / 455.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.559, allocations: 4 kB / 455.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.5594, allocations: 193.6 kB / 455.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.5594, allocations: 0.5 kB / 455.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.5596, allocations: 23.98 kB / 455.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.5596, allocations: 0 / 455.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5596, allocations: 7.922 kB / 455.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5596, allocations: 4 kB / 455.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5597, allocations: 0 / 455.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.5602, allocations: 219.2 kB / 455.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.5602, allocations: 85 kB / 455.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.5603, allocations: 4 kB / 455.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.5605, allocations: 19.98 kB / 455.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.5605, allocations: 0 / 455.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5605, allocations: 4 kB / 455.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.725e-05/0.5606, allocations: 94.27 kB / 455.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5606, allocations: 0 / 455.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.561, allocations: 16 kB / 455.9 MB, free: 15.04 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001086/0.5621, allocations: 0.7865 MB / 456.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.5625, allocations: 72 kB / 456.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5625, allocations: 4 kB / 456.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.5628, allocations: 47.91 kB / 456.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.563, allocations: 12.7 kB / 456.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.5649, allocations: 0.6497 MB / 457.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5652, allocations: 0.6965 MB / 458.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.5653, allocations: 31.42 kB / 458.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of SimCode: time 3.266e-06/0.5653, allocations: 0 / 458.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.333/2.898, allocations: 1.33 MB / 459.5 MB, free: 11.32 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat