Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 83.61 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.008e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 50.42 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4926, allocations: 76.93 MB / 471.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4929, allocations: 75.95 kB / 471.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005449/0.4984, allocations: 1.722 MB / 473.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4984, allocations: 0 / 473.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4985, allocations: 4 kB / 473.1 MB, free: 8.742 MB / 346.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.0004421/0.4989, allocations: 359.1 kB / 473.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.499, allocations: 12.03 kB / 473.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.537e-05/0.4991, allocations: 38.55 kB / 473.5 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.4994, allocations: 63.72 kB / 473.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.4996, allocations: 171.1 kB / 473.7 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.4996, allocations: 8 kB / 473.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.4997, allocations: 4 kB / 473.7 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.4999, allocations: 75.23 kB / 473.8 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4999, allocations: 3.984 kB / 473.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4999, allocations: 4 kB / 473.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.4999, allocations: 7.953 kB / 473.8 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.5, allocations: 47.91 kB / 473.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.5008, allocations: 383.5 kB / 474.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.5009, allocations: 54.45 kB / 474.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.501, allocations: 20.98 kB / 474.3 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.501, allocations: 4 kB / 474.3 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.501, allocations: 38.48 kB / 474.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.501, allocations: 0 / 474.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002259/0.5012, allocations: 65.59 kB / 474.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.5013, allocations: 63.34 kB / 474.5 MB, free: 7.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.5014, allocations: 109.2 kB / 474.6 MB, free: 7.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5014, allocations: 29.7 kB / 474.6 MB, free: 7.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.5015, allocations: 99.97 kB / 474.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.5015, allocations: 19.7 kB / 474.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.5016, allocations: 0 / 474.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5017, allocations: 322.8 kB / 475 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.5017, allocations: 12 kB / 475 MB, free: 6.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.5018, allocations: 16 kB / 475.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.5018, allocations: 15.98 kB / 475.1 MB, free: 6.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5018, allocations: 0 / 475.1 MB, free: 6.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.502, allocations: 61.69 kB / 475.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.502, allocations: 4 kB / 475.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.502, allocations: 4 kB / 475.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.502, allocations: 0 / 475.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.5022, allocations: 27.91 kB / 475.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5022, allocations: 0 / 475.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.5023, allocations: 24.72 kB / 475.2 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5023, allocations: 3.984 kB / 475.2 MB, free: 6.395 MB / 346.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 7.506e-05/0.5024, allocations: 108.9 kB / 475.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.5024, allocations: 0 / 475.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.5026, allocations: 81.77 kB / 475.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.5026, allocations: 7.984 kB / 475.4 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5027, allocations: 4.312 kB / 475.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5027, allocations: 0 / 475.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.5029, allocations: 205.4 kB / 475.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5029, allocations: 0 / 475.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.503, allocations: 27.91 kB / 475.6 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5031, allocations: 0 / 475.6 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5031, allocations: 4 kB / 475.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5031, allocations: 0 / 475.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5031, allocations: 4 kB / 475.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.5033, allocations: 159.5 kB / 475.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.5034, allocations: 96.89 kB / 475.9 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.5034, allocations: 4 kB / 475.9 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5035, allocations: 15.98 kB / 475.9 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.5036, allocations: 3.938 kB / 475.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.5036, allocations: 4 kB / 475.9 MB, free: 5.586 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.071e-05/0.5036, allocations: 103.6 kB / 476 MB, free: 5.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5036, allocations: 0 / 476 MB, free: 5.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.5039, allocations: 15.91 kB / 476 MB, free: 5.473 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 () * 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.0005821/0.5045, allocations: 0.7242 MB / 476.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.5046, allocations: 36 kB / 476.8 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5046, allocations: 7.938 kB / 476.8 MB, free: 4.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.5047, allocations: 23.98 kB / 476.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.5049, allocations: 7.984 kB / 476.8 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.5054, allocations: 167.3 kB / 477 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.5057, allocations: 0.7004 MB / 477.7 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.5058, allocations: 4 kB / 477.7 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.5059, allocations: 27.42 kB / 477.7 MB, free: 3.684 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5059, allocations: 0 / 477.7 MB, free: 3.684 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.5196, allocations: 1.635 MB / 479.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.5199, allocations: 149.7 kB / 479.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.098, allocations: 0 / 479.5 MB, free: 1.926 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat does not exist to compare? outputFormat=mat