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.0007963/0.0007963, allocations: 87.7 kB / 16.31 MB, free: 6.449 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.0009841/0.0009842, allocations: 183.5 kB / 17.21 MB, free: 6.32 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.392/1.392, allocations: 223.2 MB / 241.2 MB, free: 5.406 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 7.188 kB / 300.9 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 50.42 MB / 351.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002081/0.1442, allocations: 1.515 MB / 352.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1463, allocations: 1.174 MB / 354 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1465, allocations: 4 kB / 354 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.1466, allocations: 11.86 kB / 354 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.1467, allocations: 19.75 kB / 354.1 MB, free: 8.84 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.0008688/0.1475, allocations: 243.5 kB / 354.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1478, allocations: 191.5 kB / 354.5 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.148, allocations: 60.12 kB / 354.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1481, allocations: 71.64 kB / 354.6 MB, free: 8.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1484, allocations: 95.58 kB / 354.7 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.1484, allocations: 8 kB / 354.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005193/0.1489, allocations: 291.5 kB / 355 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.149, allocations: 39.83 kB / 355 MB, free: 7.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.1491, allocations: 57.56 kB / 355.1 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.1495, allocations: 263.5 kB / 355.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1495, allocations: 0 / 355.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1495, allocations: 0 / 355.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1495, allocations: 0 / 355.4 MB, free: 7.539 MB / 286.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.001007/0.1505, allocations: 0.5583 MB / 355.9 MB, free: 6.934 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1505, allocations: 12.03 kB / 355.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.27e-05/0.1506, allocations: 50.48 kB / 356 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1509, allocations: 35.7 kB / 356 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1511, allocations: 235.5 kB / 356.2 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.1512, allocations: 16 kB / 356.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.1512, allocations: 20 kB / 356.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.1517, allocations: 226.3 kB / 356.5 MB, free: 6.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1517, allocations: 0 / 356.5 MB, free: 6.293 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1518, allocations: 11.95 kB / 356.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1518, allocations: 4 kB / 356.5 MB, free: 6.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.1522, allocations: 180.1 kB / 356.7 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1532, allocations: 0.5865 MB / 357.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1543, allocations: 377.9 kB / 357.6 MB, free: 5.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.1546, allocations: 133 kB / 357.8 MB, free: 4.957 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1546, allocations: 4 kB / 357.8 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.155, allocations: 189.2 kB / 358 MB, free: 4.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.155, allocations: 0 / 358 MB, free: 4.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009466/0.156, allocations: 424.7 kB / 358.4 MB, free: 4.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.156, allocations: 63.39 kB / 358.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1563, allocations: 203.8 kB / 358.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.1563, allocations: 45.69 kB / 358.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.1564, allocations: 124.5 kB / 358.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.1565, allocations: 71 kB / 358.9 MB, free: 3.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.1565, allocations: 12 kB / 358.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1566, allocations: 334.8 kB / 359.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.157, allocations: 147.9 kB / 359.4 MB, free: 3.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.1573, allocations: 177.5 kB / 359.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.1577, allocations: 158.5 kB / 359.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1577, allocations: 0 / 359.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007509/0.1584, allocations: 413.1 kB / 360.1 MB, free: 2.574 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1585, allocations: 6.031 kB / 360.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1585, allocations: 0 / 360.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1585, allocations: 7.953 kB / 360.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1588, allocations: 75.88 kB / 360.2 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1588, allocations: 8 kB / 360.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.159, allocations: 51.66 kB / 360.2 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.159, allocations: 11.98 kB / 360.2 MB, free: 2.418 MB / 286.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.0001553/0.1592, allocations: 141.8 kB / 360.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1592, allocations: 19.72 kB / 360.4 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.1593, allocations: 25.86 kB / 360.4 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1593, allocations: 4 kB / 360.4 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1593, allocations: 3.953 kB / 360.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1593, allocations: 0 / 360.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1604, allocations: 0.6816 MB / 361.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1604, allocations: 0 / 361.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.1607, allocations: 59.89 kB / 361.2 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1607, allocations: 3.953 kB / 361.2 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.1607, allocations: 11.98 kB / 361.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1607, allocations: 0 / 361.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1607, allocations: 0 / 361.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/0.1617, allocations: 0.5255 MB / 361.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.1618, allocations: 100.8 kB / 361.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.1618, allocations: 12.02 kB / 361.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.162, allocations: 39.91 kB / 361.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.1621, allocations: 7.984 kB / 361.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1621, allocations: 11.98 kB / 361.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1622, allocations: 147.2 kB / 362 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1622, allocations: 0 / 362 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.1627, allocations: 99.98 kB / 362.1 MB, free: 448 kB / 286.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.001844/0.1646, allocations: 1.223 MB / 363.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.1653, allocations: 323.4 kB / 363.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1653, allocations: 0 / 363.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.1657, allocations: 138 kB / 363.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1661, allocations: 27.94 kB / 363.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.1689, allocations: 1.606 MB / 365.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1693, allocations: 0.7401 MB / 366.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.1694, allocations: 29.94 kB / 366.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1696, allocations: 75.41 kB / 366.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1696, allocations: 0 / 366.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.1891, allocations: 5.571 MB / 371.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.1894, allocations: 223.7 kB / 372.1 MB, free: 6.555 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.22, allocations: 0 / 372.1 MB, free: 6.555 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