Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.Distributions,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001242, allocations: 196.5 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.557/1.557, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009569/0.0009575, allocations: 91.19 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.603e-05, allocations: 4 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4577, allocations: 79.83 MB / 481.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.458, allocations: 76 kB / 482 MB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02052/0.4785, allocations: 7.741 MB / 489.8 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4786, allocations: 3.938 kB / 489.8 MB, free: 2.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4786, allocations: 0 / 489.8 MB, free: 2.957 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007973/0.4794, allocations: 0.4963 MB / 490.3 MB, free: 2.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4794, allocations: 19.97 kB / 490.3 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.414e-05/0.4795, allocations: 41.86 kB / 490.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.4798, allocations: 28.36 kB / 490.4 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.48, allocations: 204.3 kB / 490.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.48, allocations: 7.609 kB / 490.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.48, allocations: 11.5 kB / 490.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4802, allocations: 112.7 kB / 490.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4803, allocations: 4 kB / 490.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4803, allocations: 4.938 kB / 490.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.4803, allocations: 0 / 490.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.4804, allocations: 49.67 kB / 490.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.4812, allocations: 0.5811 MB / 491.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.4814, allocations: 127.1 kB / 491.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.4815, allocations: 60.55 kB / 491.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.4816, allocations: 0 / 491.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.4818, allocations: 134.8 kB / 491.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.4818, allocations: 0.75 kB / 491.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003769/0.4822, allocations: 180.6 kB / 491.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.4823, allocations: 126.2 kB / 491.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4824, allocations: 175.4 kB / 492.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.4825, allocations: 43.81 kB / 492.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.4826, allocations: 108.3 kB / 492.3 MB, free: 468 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.4826, allocations: 53.88 kB / 492.3 MB, free: 424 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.4827, allocations: 3.438 kB / 492.3 MB, free: 424 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.4828, allocations: 336.4 kB / 492.6 MB, free: 88 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4829, allocations: 76.52 kB / 492.7 MB, free: 40 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.4831, allocations: 114.6 kB / 492.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.4833, allocations: 92.94 kB / 492.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4833, allocations: 0 / 492.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004889/0.4838, allocations: 260.9 kB / 493.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.4838, allocations: 9.719 kB / 493.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.4838, allocations: 0 / 493.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4839, allocations: 7.984 kB / 493.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.484, allocations: 27.92 kB / 493.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.4841, allocations: 5.438 kB / 493.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.4842, allocations: 27.58 kB / 493.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.4843, allocations: 15.36 kB / 493.3 MB, free: 15.6 MB / 362.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.0001746/0.4844, allocations: 139.5 kB / 493.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.4845, allocations: 11.81 kB / 493.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.4845, allocations: 19.89 kB / 493.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4845, allocations: 4 kB / 493.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4846, allocations: 0 / 493.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4846, allocations: 0 / 493.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.4848, allocations: 229.4 kB / 493.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4849, allocations: 2.188 kB / 493.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.4849, allocations: 19.98 kB / 493.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4849, allocations: 0 / 493.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.485, allocations: 4 kB / 493.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.485, allocations: 3.938 kB / 493.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.485, allocations: 0 / 493.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.4854, allocations: 250.1 kB / 493.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.4854, allocations: 92.86 kB / 494 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.4855, allocations: 15.23 kB / 494 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.4856, allocations: 7.984 kB / 494 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.4857, allocations: 23.06 kB / 494.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4857, allocations: 7.984 kB / 494.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.4858, allocations: 142.4 kB / 494.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4858, allocations: 0 / 494.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007169/0.4866, allocations: 164.3 kB / 494.4 MB, free: 14.49 MB / 362.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.002149/0.4887, allocations: 1.252 MB / 495.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.4892, allocations: 229.4 kB / 495.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4892, allocations: 0 / 495.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4893, allocations: 55.92 kB / 495.9 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.4895, allocations: 10.19 kB / 495.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.4903, allocations: 331 kB / 496.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.4906, allocations: 0.7201 MB / 497 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.4907, allocations: 29.91 kB / 497 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.4908, allocations: 47.42 kB / 497 MB, free: 11.81 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4908, allocations: 0 / 497 MB, free: 11.81 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.5103, allocations: 5.361 MB / 0.4906 GB, free: 6.668 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.5105, allocations: 189.2 kB / 0.4908 GB, free: 6.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.156, allocations: 0 / 0.4908 GB, free: 6.441 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat does not exist to compare? outputFormat=mat