Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.0009348/0.0009348, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 219.8 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009625/0.0009628, allocations: 86.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.62e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09405, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4355, allocations: 78.15 MB / 448.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4358, allocations: 69.03 kB / 448.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02213/0.4579, allocations: 7.509 MB / 455.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.458, allocations: 0 / 455.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.458, allocations: 4 kB / 455.8 MB, free: 8.605 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009216/0.4589, allocations: 0.5063 MB / 456.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.459, allocations: 8.031 kB / 456.4 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.4591, allocations: 42.55 kB / 456.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.4593, allocations: 35.73 kB / 456.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.4596, allocations: 199.9 kB / 456.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.4596, allocations: 7.953 kB / 456.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.4597, allocations: 11.67 kB / 456.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.4599, allocations: 120.5 kB / 456.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4599, allocations: 0 / 456.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.4599, allocations: 3.984 kB / 456.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.46, allocations: 4 kB / 456.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.4601, allocations: 51.11 kB / 456.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.4609, allocations: 0.5718 MB / 457.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.4611, allocations: 125.8 kB / 457.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.4612, allocations: 54.05 kB / 457.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.4613, allocations: 0 / 457.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.4615, allocations: 144.8 kB / 457.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.4615, allocations: 0 / 457.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003678/0.4619, allocations: 176.2 kB / 457.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.462, allocations: 122.3 kB / 458 MB, free: 6.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.4622, allocations: 181.2 kB / 458.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.4622, allocations: 49.5 kB / 458.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.4623, allocations: 115.5 kB / 458.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.4624, allocations: 47.06 kB / 458.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.4624, allocations: 3.438 kB / 458.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4626, allocations: 331 kB / 458.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4627, allocations: 79.05 kB / 458.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.4629, allocations: 129.8 kB / 458.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.463, allocations: 90.81 kB / 459 MB, free: 5.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4631, allocations: 0 / 459 MB, free: 5.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004024/0.4635, allocations: 259 kB / 459.3 MB, free: 5.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4635, allocations: 7.984 kB / 459.3 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4635, allocations: 4 kB / 459.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4635, allocations: 4.094 kB / 459.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.4637, allocations: 35.55 kB / 459.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4637, allocations: 0 / 459.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.4638, allocations: 39.56 kB / 459.3 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.4639, allocations: 8 kB / 459.4 MB, free: 5.207 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001137/0.464, allocations: 128.2 kB / 459.5 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.464, allocations: 23.8 kB / 459.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.4641, allocations: 13.47 kB / 459.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.4641, allocations: 0 / 459.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4641, allocations: 4 kB / 459.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4641, allocations: 4.078 kB / 459.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.4643, allocations: 228.3 kB / 459.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4643, allocations: 4 kB / 459.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.4644, allocations: 11.98 kB / 459.8 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4644, allocations: 4 kB / 459.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4644, allocations: 4 kB / 459.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4644, allocations: 0 / 459.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4645, allocations: 11.94 kB / 459.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.4648, allocations: 242.7 kB / 460 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.4649, allocations: 100.9 kB / 460.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.4649, allocations: 4 kB / 460.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.465, allocations: 15.98 kB / 460.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.4651, allocations: 11.94 kB / 460.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.4651, allocations: 15.92 kB / 460.2 MB, free: 4.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4652, allocations: 141.2 kB / 460.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4652, allocations: 0 / 460.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005539/0.4658, allocations: 159.7 kB / 460.5 MB, free: 4.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001982/0.4678, allocations: 1.265 MB / 461.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.4682, allocations: 233.8 kB / 462 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4682, allocations: 0 / 462 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4683, allocations: 55.98 kB / 462 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.4685, allocations: 4.188 kB / 462 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/0.4693, allocations: 333.4 kB / 462.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.4697, allocations: 0.724 MB / 463.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.187e-05/0.4698, allocations: 21.19 kB / 463.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.4699, allocations: 47.42 kB / 463.1 MB, free: 1.266 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4699, allocations: 0 / 463.1 MB, free: 1.266 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.4887, allocations: 5.31 MB / 468.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.4889, allocations: 203.2 kB / 468.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.232, allocations: 0 / 468.6 MB, free: 11.71 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat does not exist to compare? outputFormat=mat