Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",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.001274/0.001274, allocations: 180.2 kB / 16.39 MB, free: 5.766 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: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 91.92 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2355, allocations: 50.42 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09468/0.3302, allocations: 79.14 MB / 480.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.3305, allocations: 79.95 kB / 480.8 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01769/0.3482, allocations: 5.206 MB / 486 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3483, allocations: 0 / 486 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.3483, allocations: 4 kB / 486 MB, free: 12.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001153/0.3495, allocations: 0.5441 MB / 486.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3496, allocations: 8.031 kB / 486.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.3497, allocations: 62.47 kB / 486.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.3499, allocations: 31.72 kB / 486.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.3503, allocations: 244.3 kB / 486.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.3503, allocations: 16 kB / 486.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.3504, allocations: 24 kB / 486.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.3509, allocations: 218.5 kB / 487.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.351, allocations: 7.922 kB / 487.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.351, allocations: 11.95 kB / 487.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.351, allocations: 0 / 487.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.3515, allocations: 180.2 kB / 487.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3526, allocations: 0.598 MB / 487.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.3538, allocations: 374.8 kB / 488.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3538, allocations: 4 kB / 488.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.3543, allocations: 195.2 kB / 488.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.3543, allocations: 0 / 488.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001108/0.3554, allocations: 488 kB / 489 MB, free: 8.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3555, allocations: 63.78 kB / 489 MB, free: 8.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.3557, allocations: 195.8 kB / 489.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.3557, allocations: 37.69 kB / 489.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.3558, allocations: 132.5 kB / 489.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.3559, allocations: 71.08 kB / 489.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.3559, allocations: 8 kB / 489.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3561, allocations: 330.8 kB / 489.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.3565, allocations: 143.9 kB / 489.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.3569, allocations: 177.5 kB / 490.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.3572, allocations: 150.3 kB / 490.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3572, allocations: 0 / 490.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008634/0.3581, allocations: 401.1 kB / 490.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3581, allocations: 4 kB / 490.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3582, allocations: 4 kB / 490.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3582, allocations: 3.938 kB / 490.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.3585, allocations: 75.94 kB / 490.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.3585, allocations: 15.88 kB / 490.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.3588, allocations: 51.67 kB / 490.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.3588, allocations: 15.98 kB / 490.8 MB, free: 6.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001632/0.359, allocations: 141.7 kB / 491 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.359, allocations: 23.7 kB / 491 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.3591, allocations: 17.88 kB / 491 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.3591, allocations: 4 kB / 491 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3591, allocations: 0 / 491 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3591, allocations: 7.891 kB / 491 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3604, allocations: 0.6817 MB / 491.7 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3604, allocations: 0 / 491.7 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.3607, allocations: 51.89 kB / 491.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3607, allocations: 8 kB / 491.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.3608, allocations: 11.94 kB / 491.8 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3608, allocations: 4 kB / 491.8 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3608, allocations: 4 kB / 491.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3619, allocations: 0.5341 MB / 492.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.3619, allocations: 100.8 kB / 492.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.362, allocations: 8.062 kB / 492.4 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3622, allocations: 31.92 kB / 492.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.3623, allocations: 19.92 kB / 492.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3623, allocations: 11.98 kB / 492.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3625, allocations: 147.2 kB / 492.6 MB, free: 5.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.884e-06/0.3625, allocations: 0 / 492.6 MB, free: 5.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004473/0.3629, allocations: 87.86 kB / 492.7 MB, free: 4.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00186/0.3648, allocations: 1.191 MB / 493.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007979/0.3656, allocations: 349.2 kB / 494.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3656, allocations: 0 / 494.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.366, allocations: 131.9 kB / 494.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.3662, allocations: 26.88 kB / 494.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3676, allocations: 0.9658 MB / 495.4 MB, free: 2.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3679, allocations: 0.7517 MB / 496.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.368, allocations: 29.92 kB / 496.1 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3682, allocations: 71.34 kB / 496.2 MB, free: 1.402 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3682, allocations: 4 kB / 496.2 MB, free: 1.398 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.387, allocations: 5.068 MB / 0.4895 GB, free: 12.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.3872, allocations: 228.3 kB / 0.4897 GB, free: 12.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.257, allocations: 0 / 0.4897 GB, free: 12.24 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat