Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_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.001097/0.001098, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.001072/0.001072, allocations: 90.62 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.818e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09424, allocations: 47.58 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4305, allocations: 76.07 MB / 446.2 MB, free: 1.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4308, allocations: 72.95 kB / 446.3 MB, free: 1.141 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005023/0.4358, allocations: 1.69 MB / 448 MB, free: 15.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4358, allocations: 0 / 448 MB, free: 15.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4358, allocations: 0 / 448 MB, free: 15.66 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.0003986/0.4362, allocations: 373.8 kB / 448.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4363, allocations: 8.031 kB / 448.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.751e-05/0.4364, allocations: 44.91 kB / 448.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.4368, allocations: 47.86 kB / 448.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.437, allocations: 178.9 kB / 448.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.4371, allocations: 11.25 kB / 448.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.4371, allocations: 10.58 kB / 448.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.4373, allocations: 72.11 kB / 448.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4373, allocations: 0 / 448.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.4374, allocations: 7.562 kB / 448.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4374, allocations: 0 / 448.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4375, allocations: 51.41 kB / 448.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.4383, allocations: 383.6 kB / 449.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4384, allocations: 57.09 kB / 449.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.4385, allocations: 27.23 kB / 449.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4385, allocations: 0 / 449.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.4385, allocations: 30.56 kB / 449.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.4385, allocations: 0 / 449.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002173/0.4388, allocations: 66.81 kB / 449.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.4388, allocations: 55.36 kB / 449.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.4389, allocations: 113.2 kB / 449.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4389, allocations: 25.7 kB / 449.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.439, allocations: 102.6 kB / 449.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.4391, allocations: 19.03 kB / 449.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.4391, allocations: 0 / 449.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4392, allocations: 322.3 kB / 449.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.4393, allocations: 15.12 kB / 449.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.4393, allocations: 14.56 kB / 449.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.4394, allocations: 15.06 kB / 450 MB, free: 13.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4394, allocations: 3.938 kB / 450 MB, free: 13.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001165/0.4395, allocations: 60.06 kB / 450 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4395, allocations: 12 kB / 450 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4395, allocations: 3.984 kB / 450 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4396, allocations: 0.875 kB / 450 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.4397, allocations: 23.3 kB / 450.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4397, allocations: 3.953 kB / 450.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.4398, allocations: 19.89 kB / 450.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4398, allocations: 4 kB / 450.1 MB, free: 13.46 MB / 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 () * 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.911e-05/0.4399, allocations: 108.9 kB / 450.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.44, allocations: 4 kB / 450.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.4402, allocations: 83.94 kB / 450.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4402, allocations: 64 / 450.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4402, allocations: 4 kB / 450.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4402, allocations: 3.953 kB / 450.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.4404, allocations: 198 kB / 450.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4404, allocations: 0 / 450.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.4405, allocations: 23.98 kB / 450.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4405, allocations: 0 / 450.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4405, allocations: 4 kB / 450.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4406, allocations: 3.938 kB / 450.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4406, allocations: 0 / 450.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.4407, allocations: 172.2 kB / 450.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.4408, allocations: 88.95 kB / 450.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.4408, allocations: 0 / 450.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4409, allocations: 15.98 kB / 450.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.441, allocations: 3.984 kB / 450.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.441, allocations: 7.812 kB / 450.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.441, allocations: 95.16 kB / 450.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.441, allocations: 0 / 450.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000207/0.4412, allocations: 11.91 kB / 450.9 MB, free: 12.61 MB / 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: 0 () * Number of discrete 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.0006242/0.4419, allocations: 0.7303 MB / 451.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.442, allocations: 38.09 kB / 451.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4421, allocations: 0 / 451.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/0.4421, allocations: 27 kB / 451.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4423, allocations: 4.672 kB / 451.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.443, allocations: 172.9 kB / 451.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.4433, allocations: 0.7004 MB / 452.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.4433, allocations: 15.89 kB / 452.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.4434, allocations: 20.94 kB / 452.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4434, allocations: 0 / 452.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.458, allocations: 1.635 MB / 454.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.4583, allocations: 162.2 kB / 454.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/1.902, allocations: 8 kB / 454.4 MB, free: 9.016 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat