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.002296/0.002296, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001095, allocations: 96.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.594e-05, allocations: 8 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4546, allocations: 47.56 MB / 362.4 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.619, allocations: 75.43 MB / 437.9 MB, free: 10.88 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6193, allocations: 70.78 kB / 437.9 MB, free: 10.81 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.007663/0.627, allocations: 1.67 MB / 439.6 MB, free: 9.16 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.627, allocations: 0 / 439.6 MB, free: 9.16 MB / 331.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.627, allocations: 192 / 439.6 MB, free: 9.16 MB / 331.1 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.000465/0.6275, allocations: 383.3 kB / 440 MB, free: 8.746 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6276, allocations: 8.031 kB / 440 MB, free: 8.738 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.6281, allocations: 51.64 kB / 440 MB, free: 8.691 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.6283, allocations: 171 kB / 440.2 MB, free: 8.484 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.6283, allocations: 5.203 kB / 440.2 MB, free: 8.48 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.6284, allocations: 5.5 kB / 440.2 MB, free: 8.477 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001712/0.6285, allocations: 40.78 kB / 440.2 MB, free: 8.438 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.6287, allocations: 69.61 kB / 440.3 MB, free: 8.363 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6288, allocations: 1.656 kB / 440.3 MB, free: 8.363 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6288, allocations: 0 / 440.3 MB, free: 8.363 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6288, allocations: 0 / 440.3 MB, free: 8.363 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/0.6297, allocations: 336.4 kB / 440.6 MB, free: 8 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.6299, allocations: 50.41 kB / 440.7 MB, free: 7.945 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.6299, allocations: 16.98 kB / 440.7 MB, free: 7.926 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.63, allocations: 4 kB / 440.7 MB, free: 7.922 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.63, allocations: 40.2 kB / 440.8 MB, free: 7.875 MB / 331.1 MB Notification: Performance of pre-optimization done (n=5): time 2.445e-06/0.63, allocations: 0 / 440.8 MB, free: 7.875 MB / 331.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002517/0.6303, allocations: 57.69 kB / 440.8 MB, free: 7.812 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6303, allocations: 51.41 kB / 440.9 MB, free: 7.75 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.6305, allocations: 106.4 kB / 441 MB, free: 7.641 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.6305, allocations: 33.64 kB / 441 MB, free: 7.602 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.6306, allocations: 158.4 kB / 441.2 MB, free: 7.445 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.6306, allocations: 23.7 kB / 441.2 MB, free: 7.422 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.6306, allocations: 0 / 441.2 MB, free: 7.422 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6308, allocations: 318.8 kB / 441.5 MB, free: 7.102 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.6308, allocations: 16 kB / 441.5 MB, free: 7.086 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.6309, allocations: 14.12 kB / 441.5 MB, free: 7.074 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.631, allocations: 11.94 kB / 441.5 MB, free: 7.062 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.631, allocations: 3.984 kB / 441.5 MB, free: 7.059 MB / 331.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001697/0.6312, allocations: 60.03 kB / 441.6 MB, free: 6.996 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.6312, allocations: 4 kB / 441.6 MB, free: 6.992 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6312, allocations: 4 kB / 441.6 MB, free: 6.988 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6312, allocations: 0 / 441.6 MB, free: 6.988 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.6315, allocations: 27.98 kB / 441.6 MB, free: 6.961 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6315, allocations: 0 / 441.6 MB, free: 6.961 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.6317, allocations: 19.92 kB / 441.6 MB, free: 6.941 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.6317, allocations: 0 / 441.6 MB, free: 6.941 MB / 331.1 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 9.125e-05/0.6318, allocations: 108.9 kB / 441.7 MB, free: 6.828 MB / 331.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001801/0.632, allocations: 71.28 kB / 441.8 MB, free: 6.758 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.6321, allocations: 7.984 kB / 441.8 MB, free: 6.75 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.6323, allocations: 78.08 kB / 441.9 MB, free: 6.668 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6323, allocations: 0 / 441.9 MB, free: 6.668 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.6323, allocations: 0 / 441.9 MB, free: 6.668 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6324, allocations: 0 / 441.9 MB, free: 6.668 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.6326, allocations: 178 kB / 442.1 MB, free: 6.457 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6326, allocations: 0 / 442.1 MB, free: 6.457 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.6329, allocations: 23.97 kB / 442.1 MB, free: 6.434 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.6329, allocations: 8 kB / 442.1 MB, free: 6.426 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.6329, allocations: 3.984 kB / 442.1 MB, free: 6.422 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.6329, allocations: 0 / 442.1 MB, free: 6.422 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6329, allocations: 0 / 442.1 MB, free: 6.422 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.6332, allocations: 159.5 kB / 442.3 MB, free: 6.25 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.6333, allocations: 89 kB / 442.4 MB, free: 6.145 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.6333, allocations: 0 / 442.4 MB, free: 6.145 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.6335, allocations: 22.61 kB / 442.4 MB, free: 6.125 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.6336, allocations: 4 kB / 442.4 MB, free: 6.121 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.6336, allocations: 0 / 442.4 MB, free: 6.121 MB / 331.1 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.6337, allocations: 92.25 kB / 442.5 MB, free: 6.031 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6337, allocations: 0 / 442.5 MB, free: 6.031 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.634, allocations: 8 kB / 442.5 MB, free: 6.023 MB / 331.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: 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.0007151/0.6348, allocations: 0.7288 MB / 443.2 MB, free: 5.266 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.635, allocations: 36 kB / 443.2 MB, free: 5.23 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.635, allocations: 0 / 443.2 MB, free: 5.23 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.6351, allocations: 23.94 kB / 443.3 MB, free: 5.207 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.6354, allocations: 10.05 kB / 443.3 MB, free: 5.199 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007793/0.6362, allocations: 190.6 kB / 443.5 MB, free: 4.973 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.6365, allocations: 0.6891 MB / 444.2 MB, free: 4.258 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.6366, allocations: 27.42 kB / 444.2 MB, free: 4.234 MB / 331.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6366, allocations: 0 / 444.2 MB, free: 4.234 MB / 331.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.497/3.133, allocations: 1.265 MB / 445.4 MB, free: 3 MB / 331.1 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