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.0009264/0.0009263, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.001176/0.001176, allocations: 99.58 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.798e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09119, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4395, allocations: 76.26 MB / 463.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4398, allocations: 75.95 kB / 463.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005228/0.445, allocations: 1.724 MB / 465.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.445, allocations: 0 / 465.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4451, allocations: 0 / 465.6 MB, free: 0.6484 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.000412/0.4455, allocations: 371.1 kB / 466 MB, free: 248 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4455, allocations: 8.031 kB / 466 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.4459, allocations: 51.81 kB / 466 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.4461, allocations: 171 kB / 466.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.4461, allocations: 8 kB / 466.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.4461, allocations: 4 kB / 466.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001241/0.4463, allocations: 44.11 kB / 466.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4464, allocations: 61.67 kB / 466.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4464, allocations: 4 kB / 466.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4464, allocations: 0 / 466.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4465, allocations: 3.953 kB / 466.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.4471, allocations: 333.1 kB / 466.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.4472, allocations: 54.5 kB / 466.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.013e-05/0.4472, allocations: 20.98 kB / 466.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.4473, allocations: 8 kB / 466.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.4473, allocations: 30.56 kB / 466.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.317e-06/0.4473, allocations: 0 / 466.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001861/0.4475, allocations: 61.62 kB / 466.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4475, allocations: 59.34 kB / 466.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.4476, allocations: 105 kB / 467 MB, free: 15.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.4476, allocations: 25.7 kB / 467 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.4477, allocations: 99.97 kB / 467.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.4477, allocations: 19.75 kB / 467.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.4477, allocations: 0 / 467.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4479, allocations: 318.8 kB / 467.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.4479, allocations: 12 kB / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.4479, allocations: 12 kB / 467.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.448, allocations: 12 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.448, allocations: 0 / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.4481, allocations: 65.55 kB / 467.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4481, allocations: 4 kB / 467.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4481, allocations: 4 kB / 467.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4481, allocations: 6.984 kB / 467.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4483, allocations: 27.98 kB / 467.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.4483, allocations: 3.938 kB / 467.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.4484, allocations: 15.98 kB / 467.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4484, allocations: 0 / 467.6 MB, free: 14.47 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.766e-05/0.4485, allocations: 105 kB / 467.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001203/0.4486, allocations: 65.55 kB / 467.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.4487, allocations: 7.906 kB / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.4488, allocations: 86 kB / 467.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4488, allocations: 0 / 467.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4489, allocations: 0 / 467.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4489, allocations: 0 / 467.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.4491, allocations: 166.2 kB / 468 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4491, allocations: 3.938 kB / 468 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4492, allocations: 23.98 kB / 468 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.4492, allocations: 3.953 kB / 468.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4492, allocations: 3.984 kB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4492, allocations: 4 kB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4493, allocations: 4.312 kB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.4494, allocations: 163.5 kB / 468.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.4495, allocations: 81.11 kB / 468.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4495, allocations: 11.95 kB / 468.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4496, allocations: 11.98 kB / 468.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.4497, allocations: 7.984 kB / 468.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4497, allocations: 3.938 kB / 468.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.4497, allocations: 88.92 kB / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4497, allocations: 0 / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.45, allocations: 15.84 kB / 468.4 MB, free: 13.54 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.0005252/0.4505, allocations: 0.7125 MB / 469.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.4506, allocations: 39.97 kB / 469.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4506, allocations: 0 / 469.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.4507, allocations: 24 kB / 469.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.4509, allocations: 3.953 kB / 469.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.4514, allocations: 161.3 kB / 469.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.4517, allocations: 0.6963 MB / 470.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.4517, allocations: 8 kB / 470.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.4518, allocations: 23.42 kB / 470.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4518, allocations: 0 / 470.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.4711, allocations: 1.269 MB / 471.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.4714, allocations: 124.6 kB / 471.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.975, allocations: 0 / 471.5 MB, free: 10.34 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