Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 181.4 kB / 16.39 MB, free: 5.762 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.406/1.406, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0008547/0.0008546, allocations: 101.5 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 351.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2465, allocations: 50.4 MB / 401.6 MB, free: 32.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3537, allocations: 76.82 MB / 478.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/0.3541, allocations: 85.58 kB / 478.5 MB, free: 3.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008694/0.3628, allocations: 3.041 MB / 481.5 MB, free: 480 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3628, allocations: 3.938 kB / 481.5 MB, free: 476 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3629, allocations: 4 kB / 481.5 MB, free: 472 kB / 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.0004566/0.3633, allocations: 385.5 kB / 481.9 MB, free: 40 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3634, allocations: 8.031 kB / 481.9 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.3635, allocations: 38.56 kB / 482 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.3635, allocations: 11.86 kB / 482 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3638, allocations: 197.3 kB / 482.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3638, allocations: 4 kB / 482.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3638, allocations: 4.531 kB / 482.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.3641, allocations: 145 kB / 482.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3642, allocations: 3.938 kB / 482.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3642, allocations: 3.953 kB / 482.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3642, allocations: 0 / 482.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.3643, allocations: 23.98 kB / 482.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3646, allocations: 269.8 kB / 482.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.3647, allocations: 46.5 kB / 482.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.3654, allocations: 0.5818 MB / 483.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3654, allocations: 38.56 kB / 483.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3654, allocations: 0 / 483.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002612/0.3657, allocations: 166.6 kB / 483.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.3658, allocations: 63.28 kB / 483.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3659, allocations: 140.7 kB / 483.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.366, allocations: 25.7 kB / 483.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.366, allocations: 84.33 kB / 483.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3661, allocations: 11.91 kB / 483.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.3661, allocations: 4 kB / 483.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3662, allocations: 322.8 kB / 484.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.3663, allocations: 15.98 kB / 484.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.3664, allocations: 67.16 kB / 484.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.3664, allocations: 31.92 kB / 484.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3665, allocations: 4 kB / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.3666, allocations: 105.5 kB / 484.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3667, allocations: 7.953 kB / 484.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3667, allocations: 4.453 kB / 484.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.3667, allocations: 4 kB / 484.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3668, allocations: 12 kB / 484.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3669, allocations: 11.92 kB / 484.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.3669, allocations: 11.91 kB / 484.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3669, allocations: 4 kB / 484.3 MB, free: 13.25 MB / 362.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 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * 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 0.0001574/0.3671, allocations: 126.8 kB / 484.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3672, allocations: 69.59 kB / 484.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.3674, allocations: 98.16 kB / 484.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3674, allocations: 3.984 kB / 484.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3674, allocations: 0 / 484.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3675, allocations: 0 / 484.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3676, allocations: 173.6 kB / 484.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3676, allocations: 3.984 kB / 484.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.3677, allocations: 4 kB / 484.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3677, allocations: 4 kB / 484.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3677, allocations: 0 / 484.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3677, allocations: 3.953 kB / 484.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3677, allocations: 4 kB / 484.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3679, allocations: 101.1 kB / 484.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.368, allocations: 101 kB / 485 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.368, allocations: 4 kB / 485 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.585e-05/0.368, allocations: 4 kB / 485 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-06/0.368, allocations: 3.953 kB / 485 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.3681, allocations: 4 kB / 485 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3682, allocations: 113.9 kB / 485.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3682, allocations: 4 kB / 485.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000265/0.3684, allocations: 24 kB / 485.2 MB, free: 12.31 MB / 362.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 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.0007096/0.3692, allocations: 0.6672 MB / 485.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3693, allocations: 60.22 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3694, allocations: 0 / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3694, allocations: 0 / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3698, allocations: 81.66 kB / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3713, allocations: 1.487 MB / 487.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3717, allocations: 0.7004 MB / 488.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.3718, allocations: 12.66 kB / 488.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3719, allocations: 23.44 kB / 488.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3719, allocations: 0 / 488.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.3883, allocations: 2.266 MB / 490.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.3887, allocations: 190 kB / 490.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.047, allocations: 0 / 490.7 MB, free: 6.793 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat