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.00216/0.00216, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.077/2.077, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001114/0.001114, allocations: 90.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.073e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5157, allocations: 76.08 MB / 445.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/0.5162, allocations: 72.09 kB / 445.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01239/0.5286, allocations: 1.686 MB / 447 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5287, allocations: 0 / 447 MB, free: 15.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.5287, allocations: 0 / 447 MB, free: 15.21 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.0006864/0.5294, allocations: 374 kB / 447.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/0.5295, allocations: 8.031 kB / 447.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.5296, allocations: 49.89 kB / 447.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/0.5305, allocations: 47.86 kB / 447.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.5307, allocations: 175.9 kB / 447.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.5308, allocations: 8 kB / 447.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/0.5308, allocations: 10.95 kB / 447.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.5312, allocations: 76.05 kB / 447.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5312, allocations: 0 / 447.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.5313, allocations: 4 kB / 447.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5313, allocations: 2.188 kB / 447.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.5316, allocations: 50.02 kB / 447.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.533, allocations: 382.6 kB / 448.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.5333, allocations: 51.62 kB / 448.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.5334, allocations: 23.3 kB / 448.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.5335, allocations: 4 kB / 448.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.5335, allocations: 33.94 kB / 448.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 4.148e-06/0.5336, allocations: 0 / 448.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000394/0.534, allocations: 63.69 kB / 448.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5341, allocations: 59.3 kB / 448.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.5343, allocations: 112.9 kB / 448.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.5343, allocations: 25.7 kB / 448.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.5345, allocations: 173.1 kB / 448.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.5346, allocations: 19.64 kB / 448.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.5346, allocations: 0 / 448.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5348, allocations: 316.2 kB / 449 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.5349, allocations: 15.31 kB / 449.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.535, allocations: 19.11 kB / 449.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.5351, allocations: 10.88 kB / 449.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5351, allocations: 3.938 kB / 449.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002899/0.5355, allocations: 62.25 kB / 449.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.5355, allocations: 12 kB / 449.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5355, allocations: 0 / 449.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.5356, allocations: 0 / 449.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.536, allocations: 23.97 kB / 449.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.536, allocations: 3.953 kB / 449.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.5363, allocations: 12 kB / 449.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.5363, allocations: 7.984 kB / 449.2 MB, free: 12.95 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 0.000126/0.5365, allocations: 112 kB / 449.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.5365, allocations: 7.906 kB / 449.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.537, allocations: 78.14 kB / 449.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.537, allocations: 0 / 449.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.537, allocations: 0 / 449.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.5371, allocations: 11.92 kB / 449.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.5375, allocations: 190.1 kB / 449.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5375, allocations: 320 / 449.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.5379, allocations: 27.97 kB / 449.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.5379, allocations: 4 kB / 449.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.538, allocations: 4 kB / 449.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.538, allocations: 0 / 449.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.538, allocations: 3.938 kB / 449.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.5384, allocations: 175.8 kB / 449.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.5386, allocations: 84.95 kB / 449.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.5386, allocations: 4 kB / 449.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.5389, allocations: 15.98 kB / 449.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.539, allocations: 3.375 kB / 449.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.5391, allocations: 4 kB / 449.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.5392, allocations: 99.02 kB / 450 MB, free: 12.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5392, allocations: 0 / 450 MB, free: 12.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.5398, allocations: 11.44 kB / 450 MB, free: 12.09 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.001061/0.5409, allocations: 0.7311 MB / 450.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.5412, allocations: 41.12 kB / 450.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5412, allocations: 0 / 450.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.5414, allocations: 30.47 kB / 450.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.5418, allocations: 0 / 450.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.543, allocations: 203.2 kB / 451 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.5435, allocations: 0.6965 MB / 451.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.5437, allocations: 21.8 kB / 451.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5437, allocations: 4 kB / 451.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.481/3.024, allocations: 1.341 MB / 453.1 MB, free: 9.02 MB / 330.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