Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007946/0.0007947, allocations: 83.97 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.233e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 47.58 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3541/0.4543, allocations: 75.67 MB / 438.8 MB, free: 3.648 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4545, allocations: 69.34 kB / 438.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004929/0.4595, allocations: 1.679 MB / 440.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4595, allocations: 0 / 440.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.4595, allocations: 4 kB / 440.6 MB, free: 2.156 MB / 314.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.0003897/0.4599, allocations: 371 kB / 441 MB, free: 1.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.46, allocations: 16.03 kB / 441 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.4603, allocations: 47.86 kB / 441 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4605, allocations: 171.1 kB / 441.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.4605, allocations: 0.7656 kB / 441.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.4605, allocations: 4 kB / 441.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.4606, allocations: 42.56 kB / 441.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.4608, allocations: 65.36 kB / 441.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.4608, allocations: 3.938 kB / 441.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4608, allocations: 0 / 441.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4608, allocations: 4 kB / 441.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.4614, allocations: 340.5 kB / 441.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.4615, allocations: 61.3 kB / 441.7 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.4615, allocations: 19.67 kB / 441.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4615, allocations: 0 / 441.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4616, allocations: 30.56 kB / 441.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.4616, allocations: 4 kB / 441.7 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001747/0.4618, allocations: 60.12 kB / 441.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.4618, allocations: 59.03 kB / 441.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.4619, allocations: 100.7 kB / 442 MB, free: 0.707 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4619, allocations: 25.7 kB / 442 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.4619, allocations: 99.41 kB / 442.1 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.462, allocations: 19.16 kB / 442.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.462, allocations: 0 / 442.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.4621, allocations: 326.5 kB / 442.4 MB, free: 244 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.4621, allocations: 11.69 kB / 442.4 MB, free: 236 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.4622, allocations: 11.69 kB / 442.4 MB, free: 228 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.4622, allocations: 18.88 kB / 442.5 MB, free: 216 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4622, allocations: 0 / 442.5 MB, free: 216 kB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.4623, allocations: 64.25 kB / 442.5 MB, free: 156 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4623, allocations: 4 kB / 442.5 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4623, allocations: 0 / 442.5 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4624, allocations: 0 / 442.5 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4625, allocations: 27.97 kB / 442.6 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.4625, allocations: 0 / 442.6 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.4626, allocations: 19.92 kB / 442.6 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4626, allocations: 4 kB / 442.6 MB, free: 100 kB / 314.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 8.625e-05/0.4627, allocations: 104.9 kB / 442.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000117/0.4628, allocations: 68.28 kB / 442.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4629, allocations: 7.906 kB / 442.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.463, allocations: 79.56 kB / 442.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4631, allocations: 0 / 442.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4631, allocations: 0 / 442.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4631, allocations: 4 kB / 442.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.4632, allocations: 163.9 kB / 443 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4633, allocations: 0 / 443 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.4634, allocations: 27.98 kB / 443 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4634, allocations: 0 / 443 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4634, allocations: 7.984 kB / 443 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4634, allocations: 3.938 kB / 443 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4634, allocations: 3.938 kB / 443 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.4636, allocations: 163 kB / 443.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.4636, allocations: 81.11 kB / 443.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.4637, allocations: 0 / 443.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4638, allocations: 19.98 kB / 443.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.4638, allocations: 4.797 kB / 443.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4638, allocations: 0.5625 kB / 443.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.4639, allocations: 91.84 kB / 443.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4639, allocations: 0 / 443.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.4641, allocations: 15.91 kB / 443.4 MB, free: 15.23 MB / 330.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.0004892/0.4646, allocations: 0.7268 MB / 444.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4648, allocations: 38.28 kB / 444.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4648, allocations: 0 / 444.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.4648, allocations: 19.31 kB / 444.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.465, allocations: 11.75 kB / 444.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.4656, allocations: 159.9 kB / 444.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.4658, allocations: 0.6963 MB / 445.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.4658, allocations: 4.406 kB / 445.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.4659, allocations: 28.61 kB / 445.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4659, allocations: 0 / 445.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.485, allocations: 1.254 MB / 446.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.4852, allocations: 136.6 kB / 446.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.928, allocations: 4 kB / 446.5 MB, free: 12.08 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat