Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 196.9 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.327/1.327, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008172/0.0008172, allocations: 91.53 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.914e-05, allocations: 3.984 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09829, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/0.4011, allocations: 77.56 MB / 479.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4014, allocations: 74.7 kB / 479.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006931/0.4083, allocations: 3.038 MB / 482.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4084, allocations: 0 / 482.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.4084, allocations: 0 / 482.8 MB, free: 9.207 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002548/0.4086, allocations: 374.5 kB / 483.2 MB, free: 8.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.4087, allocations: 8.031 kB / 483.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.4087, allocations: 34.06 kB / 483.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.4087, allocations: 12.56 kB / 483.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4089, allocations: 194.8 kB / 483.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.4089, allocations: 11.44 kB / 483.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.4089, allocations: 7.609 kB / 483.4 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.4092, allocations: 140.3 kB / 483.6 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.4092, allocations: 0 / 483.6 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4092, allocations: 4 kB / 483.6 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4092, allocations: 0.6875 kB / 483.6 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.4092, allocations: 26.94 kB / 483.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.4095, allocations: 274.8 kB / 483.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.4096, allocations: 41.62 kB / 483.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.4096, allocations: 23.67 kB / 483.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004541/0.4101, allocations: 0.581 MB / 484.5 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.4101, allocations: 34.5 kB / 484.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.4101, allocations: 0 / 484.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001667/0.4103, allocations: 69.7 kB / 484.6 MB, free: 7.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4103, allocations: 58.84 kB / 484.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.4104, allocations: 134.2 kB / 484.8 MB, free: 6.977 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.4104, allocations: 28.89 kB / 484.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.4105, allocations: 91.14 kB / 484.9 MB, free: 6.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.4105, allocations: 11.77 kB / 484.9 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.4105, allocations: 0.5625 kB / 484.9 MB, free: 6.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.4106, allocations: 321.4 kB / 485.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.4106, allocations: 21.92 kB / 485.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.4106, allocations: 70.38 kB / 485.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.4107, allocations: 26.98 kB / 485.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4107, allocations: 4 kB / 485.4 MB, free: 6.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001258/0.4108, allocations: 109.4 kB / 485.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4109, allocations: 4 kB / 485.5 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4109, allocations: 4.5 kB / 485.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4109, allocations: 0 / 485.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.411, allocations: 19.94 kB / 485.5 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.411, allocations: 0 / 485.5 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.4111, allocations: 12.75 kB / 485.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4111, allocations: 7.375 kB / 485.5 MB, free: 6.266 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.999e-05/0.4112, allocations: 116.9 kB / 485.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.4113, allocations: 76.31 kB / 485.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.4114, allocations: 78.78 kB / 485.8 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4114, allocations: 0 / 485.8 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4114, allocations: 0.8125 kB / 485.8 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4114, allocations: 0 / 485.8 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.4115, allocations: 196.3 kB / 486 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4115, allocations: 0 / 486 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.4116, allocations: 4 kB / 486 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4116, allocations: 0 / 486 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4116, allocations: 4.641 kB / 486 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4116, allocations: 0 / 486 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4116, allocations: 0 / 486 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.4117, allocations: 105.9 kB / 486.1 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.4118, allocations: 92.94 kB / 486.2 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4118, allocations: 8 kB / 486.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.4119, allocations: 1.5 kB / 486.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-06/0.4119, allocations: 0 / 486.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.4119, allocations: 7.984 kB / 486.2 MB, free: 5.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.189e-05/0.412, allocations: 114.8 kB / 486.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.412, allocations: 0 / 486.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.4122, allocations: 20 kB / 486.3 MB, free: 5.418 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003525/0.4125, allocations: 0.6822 MB / 487 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.4126, allocations: 47.59 kB / 487.1 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4127, allocations: 0 / 487.1 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.4127, allocations: 0 / 487.1 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.4129, allocations: 83.33 kB / 487.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.4133, allocations: 173.5 kB / 487.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.4135, allocations: 0.7043 MB / 488 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.771e-05/0.4135, allocations: 5.922 kB / 488 MB, free: 3.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.4135, allocations: 22.98 kB / 488 MB, free: 3.676 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4135, allocations: 0 / 488 MB, free: 3.676 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.4255, allocations: 2.285 MB / 490.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000127/0.4257, allocations: 171.8 kB / 490.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/1.887, allocations: 0 / 490.5 MB, free: 1.398 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat