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.001515/0.001515, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.325/1.325, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 88.22 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002326/0.0002326, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2305, allocations: 50.41 MB / 401.6 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08999/0.3206, allocations: 77 MB / 478.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.3209, allocations: 75.95 kB / 478.6 MB, free: 3.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005069/0.3259, allocations: 1.732 MB / 480.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.326, allocations: 0 / 480.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.326, allocations: 4 kB / 480.4 MB, free: 1.555 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.0004206/0.3264, allocations: 371.1 kB / 480.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3265, allocations: 12.03 kB / 480.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/0.3265, allocations: 50.55 kB / 480.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.3269, allocations: 63.81 kB / 480.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.327, allocations: 170.9 kB / 481 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.327, allocations: 0 / 481 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.3271, allocations: 12 kB / 481.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3273, allocations: 100.4 kB / 481.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3273, allocations: 0 / 481.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3273, allocations: 0 / 481.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.3274, allocations: 7.953 kB / 481.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.3276, allocations: 87.83 kB / 481.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.3282, allocations: 384.5 kB / 481.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3284, allocations: 86.52 kB / 481.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.3285, allocations: 0 / 481.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3285, allocations: 30.56 kB / 481.7 MB, free: 40 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.3285, allocations: 0 / 481.7 MB, free: 40 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004082/0.3289, allocations: 150 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.329, allocations: 55.41 kB / 481.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.3291, allocations: 110.8 kB / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3291, allocations: 29.7 kB / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.3292, allocations: 104 kB / 482.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.3292, allocations: 7.812 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.3292, allocations: 4 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.3293, allocations: 322.8 kB / 482.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.3294, allocations: 35.98 kB / 482.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.3295, allocations: 31.97 kB / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.3296, allocations: 27.98 kB / 482.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3296, allocations: 0 / 482.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000228/0.3298, allocations: 113.5 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3298, allocations: 8 kB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3299, allocations: 0 / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3299, allocations: 0 / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.33, allocations: 27.98 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.33, allocations: 3.828 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.3301, allocations: 19.92 kB / 482.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3301, allocations: 0 / 482.8 MB, free: 14.96 MB / 362.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 () * Number of clocked 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 8.17e-05/0.3302, allocations: 117.8 kB / 482.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.3303, allocations: 7.906 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.3306, allocations: 121.5 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3306, allocations: 4 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3306, allocations: 0 / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3306, allocations: 0 / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.3308, allocations: 205.5 kB / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3308, allocations: 0 / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.331, allocations: 23.97 kB / 483.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.331, allocations: 0 / 483.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.331, allocations: 4 kB / 483.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.331, allocations: 4 kB / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.331, allocations: 0 / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3313, allocations: 207.8 kB / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.3313, allocations: 84.97 kB / 483.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3314, allocations: 4 kB / 483.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3315, allocations: 23.86 kB / 483.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3315, allocations: 4 kB / 483.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3315, allocations: 0 / 483.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.3316, allocations: 104.3 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3316, allocations: 0 / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.3318, allocations: 11.94 kB / 483.7 MB, free: 13.95 MB / 362.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 () * Number of clocked 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.0006464/0.3325, allocations: 0.7865 MB / 484.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3327, allocations: 79.94 kB / 484.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3327, allocations: 0 / 484.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3328, allocations: 39.97 kB / 484.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.333, allocations: 11.66 kB / 484.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3341, allocations: 0.6281 MB / 485.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.3344, allocations: 0.6965 MB / 485.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.3344, allocations: 11.98 kB / 485.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.3345, allocations: 19.48 kB / 485.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.745e-06/0.3345, allocations: 0 / 485.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.3472, allocations: 1.638 MB / 487.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.3474, allocations: 165 kB / 487.7 MB, free: 9.812 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.922, allocations: 0 / 487.7 MB, free: 9.812 MB / 362.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