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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009412/0.0009414, allocations: 99.81 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 197.6 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002343/0.0002345, allocations: 8 kB / 306.7 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002487/0.1416, allocations: 1.532 MB / 359.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.144, allocations: 1.217 MB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1441, allocations: 4 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1442, allocations: 15.86 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.1443, allocations: 27.83 kB / 361 MB, free: 10.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.1451, allocations: 239.3 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.1453, allocations: 123.8 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1455, allocations: 55.61 kB / 361.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1456, allocations: 79.67 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1458, allocations: 91.59 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1459, allocations: 12 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.1463, allocations: 275.6 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1464, allocations: 39.83 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.1464, allocations: 57.62 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1468, allocations: 263.6 kB / 362.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1468, allocations: 0 / 362.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1468, allocations: 0 / 362.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1468, allocations: 0 / 362.2 MB, free: 9.75 MB / 302.1 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.001147/0.148, allocations: 0.5545 MB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.148, allocations: 15.97 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.1482, allocations: 58.34 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.1484, allocations: 35.7 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1487, allocations: 232.4 kB / 363.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.1488, allocations: 15.95 kB / 363.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.1488, allocations: 31.91 kB / 363.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.1493, allocations: 214.5 kB / 363.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1493, allocations: 0 / 363.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1494, allocations: 8 kB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1494, allocations: 4 kB / 363.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.1499, allocations: 180.2 kB / 363.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1509, allocations: 0.5943 MB / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.152, allocations: 385.3 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.152, allocations: 0 / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/0.1525, allocations: 183.4 kB / 364.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.1525, allocations: 0 / 364.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001071/0.1535, allocations: 0.489 MB / 365.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1536, allocations: 59.39 kB / 365.2 MB, free: 6.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1538, allocations: 204.8 kB / 365.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.1539, allocations: 37.7 kB / 365.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.154, allocations: 132.5 kB / 365.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.154, allocations: 75.08 kB / 365.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.154, allocations: 4 kB / 365.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1542, allocations: 338.8 kB / 366 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.1545, allocations: 155.6 kB / 366.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.1549, allocations: 177.5 kB / 366.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.1552, allocations: 157.5 kB / 366.5 MB, free: 5.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1553, allocations: 0 / 366.5 MB, free: 5.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008084/0.1561, allocations: 417 kB / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1561, allocations: 8 kB / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1561, allocations: 0 / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1561, allocations: 0 / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.1564, allocations: 79.89 kB / 367 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1565, allocations: 0 / 367 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1566, allocations: 51.66 kB / 367 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1567, allocations: 12 kB / 367 MB, free: 4.66 MB / 302.1 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): 37 * Array equations: 1 * 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.0001762/0.1569, allocations: 142.5 kB / 367.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1569, allocations: 27.67 kB / 367.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.157, allocations: 25.86 kB / 367.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.157, allocations: 4 kB / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.157, allocations: 0 / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.157, allocations: 0 / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.1581, allocations: 0.6739 MB / 367.9 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1581, allocations: 0 / 367.9 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.1584, allocations: 55.95 kB / 368 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1584, allocations: 0 / 368 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.1584, allocations: 4 kB / 368 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1584, allocations: 0 / 368 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1585, allocations: 7.938 kB / 368 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1595, allocations: 0.5413 MB / 368.5 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1596, allocations: 92.86 kB / 368.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1596, allocations: 12.06 kB / 368.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1598, allocations: 35.91 kB / 368.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.1598, allocations: 15.97 kB / 368.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1599, allocations: 4 kB / 368.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.16, allocations: 147.2 kB / 368.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.16, allocations: 4 kB / 368.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004918/0.1605, allocations: 107.8 kB / 368.9 MB, free: 2.672 MB / 302.1 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.001886/0.1624, allocations: 1.236 MB / 370.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007625/0.1632, allocations: 311.8 kB / 370.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1632, allocations: 0 / 370.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.1635, allocations: 139.9 kB / 370.6 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1638, allocations: 19.78 kB / 370.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2285/0.3924, allocations: 0.9608 MB / 371.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3927, allocations: 0.7466 MB / 372.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.3929, allocations: 30.61 kB / 372.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.3931, allocations: 69.88 kB / 372.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3931, allocations: 3.906 kB / 372.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.4132, allocations: 5.455 MB / 377.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.4134, allocations: 218.3 kB / 378.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.412, allocations: 0 / 378.1 MB, free: 18.17 MB / 302.1 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