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.001587/0.001587, allocations: 196.1 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.657/1.657, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000843/0.000843, allocations: 88.14 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.208e-05, allocations: 4 kB / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4599, allocations: 80.54 MB / 482.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4602, allocations: 76.2 kB / 482.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.4776, allocations: 6.794 MB / 489.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4776, allocations: 4 kB / 489.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.4777, allocations: 4 kB / 489.5 MB, free: 3.055 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007207/0.4784, allocations: 0.5461 MB / 490.1 MB, free: 2.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4784, allocations: 8.031 kB / 490.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.165e-05/0.4785, allocations: 55.45 kB / 490.1 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.4787, allocations: 35.7 kB / 490.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.4789, allocations: 236.2 kB / 490.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.4789, allocations: 18.23 kB / 490.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.479, allocations: 22.12 kB / 490.4 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.4792, allocations: 171.5 kB / 490.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4793, allocations: 3.938 kB / 490.6 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.4793, allocations: 7.75 kB / 490.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4793, allocations: 4 kB / 490.6 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.4795, allocations: 104.5 kB / 490.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.4803, allocations: 0.6013 MB / 491.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.4809, allocations: 234 kB / 491.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.481, allocations: 79.84 kB / 491.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.481, allocations: 7.625 kB / 491.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.4812, allocations: 132.7 kB / 491.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.4812, allocations: 0 / 491.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003341/0.4816, allocations: 201.9 kB / 492 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.4816, allocations: 59.59 kB / 492 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.4818, allocations: 187.6 kB / 492.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4818, allocations: 38.39 kB / 492.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.4818, allocations: 133.4 kB / 492.4 MB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.4819, allocations: 72.55 kB / 492.5 MB, free: 384 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.4819, allocations: 6.75 kB / 492.5 MB, free: 384 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.482, allocations: 333.7 kB / 492.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.4821, allocations: 92.28 kB / 492.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.4823, allocations: 125 kB / 493 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.4825, allocations: 93.45 kB / 493.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4825, allocations: 3.953 kB / 493.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004456/0.483, allocations: 289.2 kB / 493.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.483, allocations: 4 kB / 493.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.483, allocations: 6.219 kB / 493.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.483, allocations: 2.156 kB / 493.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.4833, allocations: 83.53 kB / 493.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4834, allocations: 4 kB / 493.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.4835, allocations: 55.23 kB / 493.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.4836, allocations: 15.42 kB / 493.5 MB, free: 15.47 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 () * 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.0001099/0.4837, allocations: 120 kB / 493.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.4837, allocations: 19.77 kB / 493.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.4838, allocations: 24.52 kB / 493.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4838, allocations: 0 / 493.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4838, allocations: 0 / 493.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4838, allocations: 8 kB / 493.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.4846, allocations: 0.579 MB / 494.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4846, allocations: 2.25 kB / 494.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.4849, allocations: 63.89 kB / 494.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4849, allocations: 0 / 494.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.485, allocations: 4 kB / 494.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.485, allocations: 0 / 494.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.485, allocations: 0 / 494.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.4855, allocations: 391.1 kB / 494.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.4856, allocations: 96.92 kB / 494.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.4856, allocations: 12.05 kB / 494.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4858, allocations: 23.97 kB / 494.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.4859, allocations: 23.91 kB / 494.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4859, allocations: 5.781 kB / 494.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.486, allocations: 151.2 kB / 495 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.486, allocations: 0 / 495 MB, free: 13.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.4866, allocations: 135.7 kB / 495.2 MB, free: 13.8 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]) * 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.001473/0.488, allocations: 1.11 MB / 496.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.4885, allocations: 237.5 kB / 496.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4885, allocations: 7.938 kB / 496.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4887, allocations: 77.64 kB / 496.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.4889, allocations: 21.3 kB / 496.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.4897, allocations: 451.1 kB / 497.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.4901, allocations: 0.752 MB / 497.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.4902, allocations: 30.06 kB / 497.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4904, allocations: 69.75 kB / 497.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4904, allocations: 0 / 497.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.5088, allocations: 5.85 MB / 0.492 GB, free: 5.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/0.5092, allocations: 187.2 kB / 0.4921 GB, free: 5.191 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.201, allocations: 0 / 0.4921 GB, free: 5.191 MB / 362.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