Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 100.7 kB / 16.3 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 180.9 kB / 17.19 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 241.1 MB, free: 392 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002362, allocations: 8.969 kB / 300.8 MB, free: 6.379 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 50.41 MB / 351.2 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002187/0.1215, allocations: 1.516 MB / 352.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.1236, allocations: 1.17 MB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1237, allocations: 8 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.1239, allocations: 11.86 kB / 353.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.124, allocations: 27.83 kB / 354 MB, free: 1.195 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.0008399/0.1248, allocations: 239.4 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.1251, allocations: 119.7 kB / 354.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1253, allocations: 60.06 kB / 354.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1254, allocations: 71.75 kB / 354.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.1256, allocations: 95.56 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1256, allocations: 8 kB / 354.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.126, allocations: 275.6 kB / 354.8 MB, free: 352 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.1261, allocations: 35.84 kB / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1261, allocations: 57.58 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1265, allocations: 259.7 kB / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1265, allocations: 0 / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1265, allocations: 0 / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1266, allocations: 4 kB / 355.2 MB, free: 15.98 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.001062/0.1276, allocations: 0.5621 MB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1277, allocations: 12.02 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.216e-05/0.1278, allocations: 58.48 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.128, allocations: 31.7 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1283, allocations: 232.4 kB / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.1283, allocations: 12 kB / 356.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.1283, allocations: 27.89 kB / 356.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.1288, allocations: 222.3 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1289, allocations: 0 / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.1289, allocations: 7.953 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1289, allocations: 4 kB / 356.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.1294, allocations: 188.1 kB / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1305, allocations: 0.5788 MB / 357.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1315, allocations: 378.7 kB / 357.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1316, allocations: 4 kB / 357.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.132, allocations: 179.8 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.132, allocations: 0 / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001108/0.1331, allocations: 0.4993 MB / 358.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1332, allocations: 59.34 kB / 358.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1334, allocations: 199.9 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.1334, allocations: 45.77 kB / 358.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1335, allocations: 128.5 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.1336, allocations: 78.94 kB / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.1336, allocations: 4 kB / 358.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1338, allocations: 334.8 kB / 359 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.1341, allocations: 147.9 kB / 359.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.1345, allocations: 177.6 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1349, allocations: 158.5 kB / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1349, allocations: 0 / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000806/0.1357, allocations: 405 kB / 359.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1357, allocations: 8.031 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1357, allocations: 0 / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1358, allocations: 4 kB / 359.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.1361, allocations: 83.83 kB / 359.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1361, allocations: 4 kB / 359.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1363, allocations: 55.67 kB / 360 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1363, allocations: 11.98 kB / 360 MB, free: 10.9 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.0001809/0.1365, allocations: 141.8 kB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.1366, allocations: 23.72 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.1366, allocations: 25.86 kB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1367, allocations: 4 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.1367, allocations: 3.953 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1367, allocations: 3.938 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1379, allocations: 0.67 MB / 360.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1379, allocations: 0 / 360.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.1382, allocations: 59.95 kB / 360.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1382, allocations: 3.938 kB / 360.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.1382, allocations: 11.94 kB / 360.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1382, allocations: 0 / 360.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1383, allocations: 0 / 360.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.1393, allocations: 0.5332 MB / 361.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.1394, allocations: 96.84 kB / 361.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1395, allocations: 8.062 kB / 361.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1397, allocations: 39.92 kB / 361.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.1397, allocations: 7.984 kB / 361.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1398, allocations: 11.98 kB / 361.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1399, allocations: 147.2 kB / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1399, allocations: 0 / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.1404, allocations: 107.8 kB / 361.9 MB, free: 8.918 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.001838/0.1423, allocations: 1.231 MB / 363.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007896/0.1431, allocations: 323.4 kB / 363.4 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1431, allocations: 0 / 363.4 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.1434, allocations: 138.3 kB / 363.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1437, allocations: 24.73 kB / 363.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1452, allocations: 0.9514 MB / 364.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1455, allocations: 0.744 MB / 365.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1456, allocations: 37.92 kB / 365.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1458, allocations: 67.41 kB / 365.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1458, allocations: 0 / 365.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.1623, allocations: 5.398 MB / 370.8 MB, free: 88 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.229/0.3914, allocations: 223.6 kB / 371 MB, free: 27.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.38, allocations: 0 / 371 MB, free: 27.8 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat