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.001914/0.001914, 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.468/1.468, allocations: 205.3 MB / 214.4 MB, free: 1.727 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.0009232/0.0009233, allocations: 82.72 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.17e-05, allocations: 7.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09181, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4112, allocations: 77.74 MB / 440.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4115, allocations: 71.7 kB / 441 MB, free: 1.598 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02134/0.4328, allocations: 7.46 MB / 448.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4328, allocations: 0 / 448.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.4329, allocations: 15.88 kB / 448.4 MB, free: 11.21 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.0006983/0.4336, allocations: 0.4979 MB / 448.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4336, allocations: 8.031 kB / 449 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.4338, allocations: 31.8 kB / 449 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.4341, allocations: 202.1 kB / 449.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.4341, allocations: 7.953 kB / 449.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.4341, allocations: 4 kB / 449.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.822e-05/0.4342, allocations: 42.67 kB / 449.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4344, allocations: 109.8 kB / 449.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4344, allocations: 0 / 449.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4344, allocations: 0 / 449.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4344, allocations: 4 kB / 449.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.4351, allocations: 0.5406 MB / 449.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4353, allocations: 122.7 kB / 450 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.4354, allocations: 51.91 kB / 450.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.4354, allocations: 0 / 450.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.4356, allocations: 139.1 kB / 450.2 MB, free: 9.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.4356, allocations: 4 kB / 450.2 MB, free: 9.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006063/0.4362, allocations: 200.9 kB / 450.4 MB, free: 9.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.4363, allocations: 115 kB / 450.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4365, allocations: 173.5 kB / 450.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.4365, allocations: 41.12 kB / 450.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.4366, allocations: 110.8 kB / 450.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.4366, allocations: 50.22 kB / 450.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.4367, allocations: 0 / 450.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4368, allocations: 330 kB / 451.2 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4369, allocations: 80.03 kB / 451.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.437, allocations: 108.9 kB / 451.4 MB, free: 8.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.4376, allocations: 130 kB / 451.5 MB, free: 8.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4376, allocations: 3.953 kB / 451.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000744/0.4383, allocations: 289.3 kB / 451.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4383, allocations: 4 kB / 451.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.4384, allocations: 11.98 kB / 451.8 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4384, allocations: 0 / 451.8 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4385, allocations: 36.02 kB / 451.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4386, allocations: 0 / 451.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.4387, allocations: 22.64 kB / 451.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.4387, allocations: 12 kB / 451.9 MB, free: 7.887 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.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,$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,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.0001136/0.4388, allocations: 127.4 kB / 452 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005345/0.4394, allocations: 210.6 kB / 452.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.4394, allocations: 23.73 kB / 452.2 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.4395, allocations: 16.03 kB / 452.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4395, allocations: 0 / 452.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4395, allocations: 0 / 452.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4395, allocations: 4 kB / 452.3 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.4397, allocations: 203.3 kB / 452.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4397, allocations: 0 / 452.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.4398, allocations: 15.98 kB / 452.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4398, allocations: 4.031 kB / 452.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4398, allocations: 7.984 kB / 452.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4398, allocations: 0 / 452.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4398, allocations: 0 / 452.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.4404, allocations: 274.9 kB / 452.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.4405, allocations: 96.89 kB / 452.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.4405, allocations: 11.44 kB / 452.9 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.4406, allocations: 7.984 kB / 452.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.4407, allocations: 11.98 kB / 452.9 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.4407, allocations: 11.23 kB / 452.9 MB, free: 6.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.611e-05/0.4408, allocations: 129.2 kB / 453 MB, free: 6.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4408, allocations: 4 kB / 453 MB, free: 6.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005519/0.4414, allocations: 158.1 kB / 453.2 MB, free: 6.617 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,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.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.001905/0.4433, allocations: 1.264 MB / 454.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.4436, allocations: 215.9 kB / 454.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4436, allocations: 0 / 454.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.4437, allocations: 58.36 kB / 454.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.4439, allocations: 11.52 kB / 454.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.4446, allocations: 323.5 kB / 455 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4449, allocations: 0.7201 MB / 455.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.329e-05/0.445, allocations: 25.25 kB / 455.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.4451, allocations: 44.98 kB / 455.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4451, allocations: 3.938 kB / 455.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4705, allocations: 4.913 MB / 460.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.4708, allocations: 166.5 kB / 460.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.168, allocations: 0 / 460.9 MB, free: 14.92 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