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.001184/0.001184, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008728/0.0008731, allocations: 99.55 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.099e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 51.48 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4515, allocations: 77.08 MB / 472.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4518, allocations: 74.16 kB / 472.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005485/0.4573, allocations: 1.794 MB / 474.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4573, allocations: 0 / 474.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.4574, allocations: 0 / 474.2 MB, free: 12.99 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.0003535/0.4577, allocations: 374.6 kB / 474.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4578, allocations: 8.031 kB / 474.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.4582, allocations: 62.84 kB / 474.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4583, allocations: 168.6 kB / 474.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.4583, allocations: 3.828 kB / 474.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4584, allocations: 4 kB / 474.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/0.4585, allocations: 35.97 kB / 474.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4586, allocations: 66.88 kB / 474.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4586, allocations: 4 kB / 474.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.4587, allocations: 0 / 474.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4587, allocations: 4.797 kB / 474.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.4592, allocations: 337.2 kB / 475.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.4593, allocations: 49.22 kB / 475.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.4594, allocations: 20.55 kB / 475.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4594, allocations: 0 / 475.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4594, allocations: 37.78 kB / 475.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.4595, allocations: 7.984 kB / 475.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001895/0.4597, allocations: 60.34 kB / 475.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.4597, allocations: 56.3 kB / 475.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.4598, allocations: 107.1 kB / 475.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4598, allocations: 25.7 kB / 475.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.4598, allocations: 101 kB / 475.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.4599, allocations: 17.03 kB / 475.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.4599, allocations: 0 / 475.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.46, allocations: 321 kB / 476 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.46, allocations: 18.62 kB / 476.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.46, allocations: 11.06 kB / 476.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.4601, allocations: 11.31 kB / 476.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4601, allocations: 0 / 476.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.4602, allocations: 71.97 kB / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4602, allocations: 4 kB / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4602, allocations: 0 / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4602, allocations: 0 / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4604, allocations: 20.97 kB / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4604, allocations: 9.547 kB / 476.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.4605, allocations: 10.77 kB / 476.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4605, allocations: 5.312 kB / 476.2 MB, free: 11.05 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 5.68e-05/0.4606, allocations: 104.9 kB / 476.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001057/0.4607, allocations: 67.89 kB / 476.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4607, allocations: 9.266 kB / 476.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.4609, allocations: 76.55 kB / 476.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4609, allocations: 2.875 kB / 476.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4609, allocations: 5.359 kB / 476.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4609, allocations: 0 / 476.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.461, allocations: 172.1 kB / 476.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4611, allocations: 0 / 476.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4612, allocations: 25.48 kB / 476.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4612, allocations: 3.938 kB / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4612, allocations: 1.266 kB / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4612, allocations: 4 kB / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4612, allocations: 0.75 kB / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.4614, allocations: 175 kB / 476.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.4614, allocations: 77.11 kB / 476.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.4614, allocations: 0 / 476.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4615, allocations: 15.38 kB / 476.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.4616, allocations: 6.672 kB / 476.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4616, allocations: 4 kB / 476.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.4616, allocations: 89.47 kB / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4616, allocations: 5.969 kB / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.4619, allocations: 11.91 kB / 477 MB, free: 10.23 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.0004332/0.4623, allocations: 0.7277 MB / 477.8 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.4624, allocations: 31.92 kB / 477.8 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4624, allocations: 0 / 477.8 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.4625, allocations: 24 kB / 477.8 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.4627, allocations: 1.359 kB / 477.8 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.4632, allocations: 162.8 kB / 478 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.4633, allocations: 0.6942 MB / 478.7 MB, free: 8.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.4634, allocations: 9.172 kB / 478.7 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.4635, allocations: 19.75 kB / 478.7 MB, free: 8.586 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4635, allocations: 4 kB / 478.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.4865, allocations: 1.258 MB / 480 MB, free: 7.887 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.4868, allocations: 126.8 kB / 480.1 MB, free: 7.695 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.366/1.853, allocations: 4 kB / 480.1 MB, free: 7.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