Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008701/0.0008701, allocations: 89.89 kB / 292.1 MB, free: 6.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.185e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09239, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/0.3912, allocations: 77.75 MB / 479.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.3915, allocations: 70.88 kB / 479.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004522/0.396, allocations: 1.799 MB / 481.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.396, allocations: 4 kB / 481.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.396, allocations: 0 / 481.7 MB, free: 10.1 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.0002656/0.3963, allocations: 373.4 kB / 482.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3963, allocations: 8.031 kB / 482.1 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.3964, allocations: 50.41 kB / 482.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.3968, allocations: 57.47 kB / 482.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.355e-05/0.3969, allocations: 175.1 kB / 482.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3969, allocations: 7.25 kB / 482.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3969, allocations: 7.938 kB / 482.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3971, allocations: 88.83 kB / 482.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3971, allocations: 0 / 482.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3971, allocations: 3.688 kB / 482.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3971, allocations: 0 / 482.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.3972, allocations: 47.66 kB / 482.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3977, allocations: 380.9 kB / 482.9 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.3978, allocations: 49.89 kB / 483 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.3978, allocations: 16.8 kB / 483 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.3979, allocations: 3.984 kB / 483 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.3979, allocations: 39.75 kB / 483 MB, free: 8.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3979, allocations: 0 / 483 MB, free: 8.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001784/0.3981, allocations: 65.25 kB / 483.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.3981, allocations: 55.36 kB / 483.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.082e-05/0.3982, allocations: 105 kB / 483.2 MB, free: 8.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3982, allocations: 29.64 kB / 483.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.3982, allocations: 102.9 kB / 483.4 MB, free: 8.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3982, allocations: 27.14 kB / 483.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.3983, allocations: 4 kB / 483.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.3983, allocations: 314.7 kB / 483.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.3983, allocations: 15.88 kB / 483.7 MB, free: 8.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.3984, allocations: 15.86 kB / 483.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.3984, allocations: 16.12 kB / 483.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3984, allocations: 2.344 kB / 483.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.729e-05/0.3985, allocations: 65.31 kB / 483.8 MB, free: 7.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3985, allocations: 4 kB / 483.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3985, allocations: 1.125 kB / 483.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3986, allocations: 0 / 483.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3987, allocations: 27.97 kB / 483.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3987, allocations: 9.359 kB / 483.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.3988, allocations: 11.91 kB / 483.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3988, allocations: 7.984 kB / 483.9 MB, free: 7.914 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 4.24e-05/0.3989, allocations: 104.9 kB / 484 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.3989, allocations: 8.75 kB / 484 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.3991, allocations: 82.52 kB / 484.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3991, allocations: 0 / 484.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3991, allocations: 0 / 484.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3991, allocations: 7.938 kB / 484.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3992, allocations: 196.7 kB / 484.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3992, allocations: 0 / 484.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3994, allocations: 27.97 kB / 484.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3994, allocations: 5.078 kB / 484.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3994, allocations: 0 / 484.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3994, allocations: 3.938 kB / 484.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3994, allocations: 4.938 kB / 484.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.3995, allocations: 166.6 kB / 484.5 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.3996, allocations: 85 kB / 484.6 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3996, allocations: 4 kB / 484.6 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3997, allocations: 22.27 kB / 484.6 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.3997, allocations: 4 kB / 484.6 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3997, allocations: 0 / 484.6 MB, free: 7.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.3998, allocations: 96.2 kB / 484.7 MB, free: 7.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3998, allocations: 0 / 484.7 MB, free: 7.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.4, allocations: 23.78 kB / 484.7 MB, free: 7.062 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.0003803/0.4004, allocations: 0.7313 MB / 485.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.4005, allocations: 31.75 kB / 485.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4005, allocations: 0 / 485.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.4005, allocations: 31.41 kB / 485.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.4007, allocations: 5.25 kB / 485.5 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.4012, allocations: 171.9 kB / 485.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.4013, allocations: 0.6965 MB / 486.4 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.071e-05/0.4014, allocations: 15.89 kB / 486.4 MB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.4014, allocations: 23.17 kB / 486.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4014, allocations: 0 / 486.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.4126, allocations: 1.632 MB / 488 MB, free: 3.918 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.4128, allocations: 144 kB / 488.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.342/1.754, allocations: 3.938 kB / 488.2 MB, free: 3.691 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat does not exist to compare? outputFormat=mat