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.0008501/0.0008503, allocations: 98.44 kB / 17 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008791/0.0008794, allocations: 194.4 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 8 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002634/0.1288, allocations: 1.532 MB / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1316, allocations: 1.209 MB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1317, allocations: 4 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.1319, allocations: 11.81 kB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.132, allocations: 19.84 kB / 361.1 MB, free: 11.19 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.0009392/0.1329, allocations: 243.4 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1332, allocations: 195.5 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.1334, allocations: 56.25 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1335, allocations: 71.69 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1338, allocations: 99.58 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.1339, allocations: 12 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.1345, allocations: 291.5 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.1346, allocations: 35.84 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.157e-05/0.1346, allocations: 57.52 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.1351, allocations: 267.7 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1351, allocations: 0 / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1351, allocations: 0 / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1351, allocations: 4 kB / 362.4 MB, free: 9.875 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.001235/0.1364, allocations: 0.5544 MB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1364, allocations: 12.03 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.1366, allocations: 54.48 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.1368, allocations: 35.7 kB / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1372, allocations: 232.4 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.1372, allocations: 23.81 kB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.1373, allocations: 31.89 kB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.138, allocations: 222.5 kB / 363.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.138, allocations: 0 / 363.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.138, allocations: 4 kB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1381, allocations: 4 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006736/0.1387, allocations: 180.2 kB / 363.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1402, allocations: 0.5903 MB / 364.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.1417, allocations: 378.8 kB / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.1421, allocations: 132.9 kB / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1421, allocations: 8 kB / 364.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.1427, allocations: 180.6 kB / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.605e-06/0.1427, allocations: 0 / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001471/0.1442, allocations: 413.4 kB / 365.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.1443, allocations: 71.28 kB / 365.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1446, allocations: 200.8 kB / 365.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.1447, allocations: 41.77 kB / 365.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1448, allocations: 136.5 kB / 365.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.1449, allocations: 71 kB / 365.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.1449, allocations: 4 kB / 365.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1451, allocations: 334.8 kB / 366.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.1456, allocations: 151.7 kB / 366.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.1461, allocations: 177.6 kB / 366.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.1465, allocations: 157.5 kB / 366.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1465, allocations: 3.953 kB / 366.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001129/0.1477, allocations: 413.1 kB / 367.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1477, allocations: 6.5 kB / 367.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1477, allocations: 0 / 367.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1478, allocations: 4 kB / 367.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.1482, allocations: 83.88 kB / 367.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.1482, allocations: 4 kB / 367.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1485, allocations: 51.61 kB / 367.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1485, allocations: 7.984 kB / 367.3 MB, free: 4.746 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.0002042/0.1487, allocations: 146.9 kB / 367.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1488, allocations: 23.67 kB / 367.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.1488, allocations: 25.86 kB / 367.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1489, allocations: 0 / 367.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1489, allocations: 4 kB / 367.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1489, allocations: 0 / 367.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.15, allocations: 0.6778 MB / 368.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.15, allocations: 0 / 368.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.1502, allocations: 51.95 kB / 368.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1503, allocations: 0 / 368.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1503, allocations: 11.98 kB / 368.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1503, allocations: 8 kB / 368.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1503, allocations: 0 / 368.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.1513, allocations: 0.5374 MB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1513, allocations: 104.8 kB / 368.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.1514, allocations: 8.062 kB / 368.9 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.1515, allocations: 27.97 kB / 368.9 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1516, allocations: 11.98 kB / 368.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1516, allocations: 7.984 kB / 368.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1518, allocations: 155.2 kB / 369.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1518, allocations: 0 / 369.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.1523, allocations: 99.83 kB / 369.2 MB, free: 2.758 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.001906/0.1542, allocations: 1.232 MB / 370.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007693/0.155, allocations: 315.8 kB / 370.7 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.155, allocations: 4 kB / 370.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.1553, allocations: 127.9 kB / 370.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1557, allocations: 39.19 kB / 370.9 MB, free: 1.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1978/0.3535, allocations: 1.6 MB / 372.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3538, allocations: 0.7368 MB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.354, allocations: 35.33 kB / 373.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3542, allocations: 69.2 kB / 373.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3542, allocations: 3.531 kB / 373.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.3748, allocations: 5.616 MB / 378.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.375, allocations: 234.5 kB / 379.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.487, allocations: 0 / 379.2 MB, free: 17.98 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