Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.3 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008393, allocations: 90.25 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.726e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 50.41 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.4489, allocations: 79.01 MB / 473.3 MB, free: 8.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4492, allocations: 75.95 kB / 473.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02261/0.4718, allocations: 7.606 MB / 481 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4719, allocations: 0 / 481 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.4719, allocations: 0 / 481 MB, free: 0.7852 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.0007912/0.4727, allocations: 0.499 MB / 481.5 MB, free: 248 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4727, allocations: 16.02 kB / 481.5 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.4728, allocations: 34.56 kB / 481.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.473, allocations: 31.8 kB / 481.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.4732, allocations: 203.6 kB / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4733, allocations: 8 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4733, allocations: 11.94 kB / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.4735, allocations: 120.5 kB / 481.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4735, allocations: 0 / 481.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4736, allocations: 7.984 kB / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4736, allocations: 0 / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.908e-05/0.4737, allocations: 47.92 kB / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.4745, allocations: 0.579 MB / 482.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.4747, allocations: 127.8 kB / 482.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.4748, allocations: 54.72 kB / 482.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.4748, allocations: 0 / 482.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.475, allocations: 147.2 kB / 482.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.475, allocations: 4 kB / 482.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003689/0.4754, allocations: 177.4 kB / 483.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.4755, allocations: 118.9 kB / 483.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4757, allocations: 178.2 kB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.4757, allocations: 41.69 kB / 483.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.4758, allocations: 116.5 kB / 483.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.4759, allocations: 47.39 kB / 483.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.4759, allocations: 3.984 kB / 483.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.476, allocations: 334.9 kB / 483.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.4762, allocations: 79.83 kB / 484 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.4763, allocations: 119.2 kB / 484.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4765, allocations: 99.88 kB / 484.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4765, allocations: 0 / 484.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003999/0.4769, allocations: 265.3 kB / 484.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4769, allocations: 8 kB / 484.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.4769, allocations: 0 / 484.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.477, allocations: 4 kB / 484.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4771, allocations: 27.92 kB / 484.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4771, allocations: 4 kB / 484.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.4773, allocations: 27.83 kB / 484.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.4773, allocations: 16 kB / 484.5 MB, free: 12.97 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.0001222/0.4774, allocations: 136.9 kB / 484.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.4775, allocations: 15.81 kB / 484.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.4775, allocations: 17.53 kB / 484.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4775, allocations: 4 kB / 484.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4775, allocations: 0 / 484.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4775, allocations: 3.984 kB / 484.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.4778, allocations: 225.5 kB / 484.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4778, allocations: 3.953 kB / 484.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.4779, allocations: 15.92 kB / 484.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4779, allocations: 4 kB / 485 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4779, allocations: 3.938 kB / 485 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4779, allocations: 4 kB / 485 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4779, allocations: 3.938 kB / 485 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.4782, allocations: 251.2 kB / 485.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.4783, allocations: 92.91 kB / 485.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.4784, allocations: 15.98 kB / 485.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.4784, allocations: 4 kB / 485.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.4785, allocations: 15.97 kB / 485.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4785, allocations: 8 kB / 485.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.4787, allocations: 145.1 kB / 485.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4787, allocations: 0 / 485.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006683/0.4793, allocations: 151.7 kB / 485.6 MB, free: 11.76 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.001914/0.4813, allocations: 1.254 MB / 486.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.4817, allocations: 231.2 kB / 487.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4817, allocations: 0 / 487.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4819, allocations: 56.19 kB / 487.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.482, allocations: 12.12 kB / 487.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.4828, allocations: 321.7 kB / 487.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4832, allocations: 0.7201 MB / 488.2 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.124e-05/0.4833, allocations: 25.2 kB / 488.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4834, allocations: 47.41 kB / 488.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4834, allocations: 0 / 488.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.5023, allocations: 5.257 MB / 493.5 MB, free: 3.871 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.5026, allocations: 200.2 kB / 493.7 MB, free: 3.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.165, allocations: 0 / 493.7 MB, free: 3.637 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat does not exist to compare? outputFormat=mat