Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009174/0.0009175, allocations: 105.4 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002158/0.0002158, allocations: 8 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1911, allocations: 51.48 MB / 409.5 MB, free: 26.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09723/0.2884, allocations: 80.59 MB / 490.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.2886, allocations: 79.95 kB / 490.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.3079, allocations: 6.837 MB / 497 MB, free: 2.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3079, allocations: 0 / 497 MB, free: 2.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.3079, allocations: 4 kB / 497 MB, free: 2.973 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.0009307/0.3089, allocations: 0.5752 MB / 497.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3089, allocations: 12.03 kB / 497.6 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.835e-05/0.309, allocations: 58.41 kB / 497.7 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.3092, allocations: 31.7 kB / 497.7 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3095, allocations: 251.9 kB / 497.9 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.3096, allocations: 15.98 kB / 497.9 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.3096, allocations: 24 kB / 498 MB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.3101, allocations: 219.2 kB / 498.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3101, allocations: 0 / 498.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.3101, allocations: 12 kB / 498.2 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3102, allocations: 0 / 498.2 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.3106, allocations: 184.2 kB / 498.4 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3116, allocations: 0.5903 MB / 499 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3127, allocations: 378.9 kB / 499.3 MB, free: 484 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3128, allocations: 4 kB / 499.3 MB, free: 480 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.3132, allocations: 186.8 kB / 499.5 MB, free: 284 kB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.684e-06/0.3132, allocations: 0 / 499.5 MB, free: 284 kB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001049/0.3142, allocations: 493.5 kB / 0.4883 GB, free: 15.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3143, allocations: 63.75 kB / 0.4883 GB, free: 15.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3145, allocations: 191.8 kB / 0.4885 GB, free: 15.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.3145, allocations: 41.7 kB / 0.4886 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.3146, allocations: 128.5 kB / 0.4887 GB, free: 15.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.3147, allocations: 71 kB / 0.4888 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.3147, allocations: 8 kB / 0.4888 GB, free: 15.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3148, allocations: 330.8 kB / 0.4891 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.3152, allocations: 151.8 kB / 0.4892 GB, free: 14.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.3155, allocations: 165.6 kB / 0.4894 GB, free: 14.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.3159, allocations: 153.5 kB / 0.4895 GB, free: 14.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3159, allocations: 4 kB / 0.4895 GB, free: 14.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007887/0.3167, allocations: 401 kB / 0.4899 GB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3167, allocations: 12.03 kB / 0.4899 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3167, allocations: 0 / 0.4899 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3168, allocations: 7.984 kB / 0.4899 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.3171, allocations: 79.88 kB / 0.49 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3171, allocations: 0 / 0.49 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.3173, allocations: 59.59 kB / 0.4901 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.3173, allocations: 11.98 kB / 0.4901 GB, free: 13.89 MB / 378.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.0001347/0.3175, allocations: 142.7 kB / 0.4902 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.3175, allocations: 23.67 kB / 0.4902 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.3176, allocations: 25.86 kB / 0.4903 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3176, allocations: 0 / 0.4903 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3176, allocations: 4 kB / 0.4903 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3176, allocations: 0 / 0.4903 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3187, allocations: 0.6817 MB / 0.4909 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3187, allocations: 3.938 kB / 0.4909 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.319, allocations: 55.91 kB / 0.491 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.319, allocations: 0 / 0.491 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.3191, allocations: 11.98 kB / 0.491 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3191, allocations: 0 / 0.491 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3191, allocations: 0 / 0.491 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3201, allocations: 0.5375 MB / 0.4915 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.3202, allocations: 96.77 kB / 0.4916 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.3202, allocations: 15.98 kB / 0.4916 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3204, allocations: 27.98 kB / 0.4917 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3205, allocations: 19.97 kB / 0.4917 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3205, allocations: 4 kB / 0.4917 GB, free: 12.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3206, allocations: 147.2 kB / 0.4918 GB, free: 12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3206, allocations: 3.938 kB / 0.4918 GB, free: 12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004677/0.3211, allocations: 127.8 kB / 0.4919 GB, free: 11.87 MB / 378.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.002005/0.3231, allocations: 1.297 MB / 0.4932 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.3239, allocations: 351.5 kB / 0.4936 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3239, allocations: 4.062 kB / 0.4936 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.3242, allocations: 127.9 kB / 0.4937 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3245, allocations: 30.16 kB / 0.4937 GB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3258, allocations: 0.99 MB / 0.4947 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3261, allocations: 0.7478 MB / 0.4954 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.3262, allocations: 29.94 kB / 0.4954 GB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3264, allocations: 75.39 kB / 0.4955 GB, free: 8.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3264, allocations: 0 / 0.4955 GB, free: 8.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.345, allocations: 5.758 MB / 0.5011 GB, free: 2.539 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.3452, allocations: 217.8 kB / 0.5013 GB, free: 2.301 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.243, allocations: 0 / 0.5013 GB, free: 2.301 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat