Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",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.0007644/0.0007644, allocations: 86.98 kB / 16.31 MB, free: 6.457 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.0008736/0.0008736, allocations: 183.5 kB / 17.21 MB, free: 6.328 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.354/1.354, allocations: 223.3 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002463, allocations: 6.781 kB / 300.9 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 50.43 MB / 351.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001983/0.1074, allocations: 1.519 MB / 352.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1088, allocations: 0.9242 MB / 353.8 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.1089, allocations: 4 kB / 353.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.131e-05/0.109, allocations: 15.86 kB / 353.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1091, allocations: 23.78 kB / 353.8 MB, free: 9.109 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.0003899/0.1095, allocations: 135.7 kB / 354 MB, free: 8.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1097, allocations: 195.5 kB / 354.1 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1099, allocations: 56.11 kB / 354.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.11, allocations: 79.64 kB / 354.3 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1102, allocations: 99.56 kB / 354.4 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1102, allocations: 8 kB / 354.4 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1104, allocations: 99.84 kB / 354.5 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.1104, allocations: 43.83 kB / 354.5 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1105, allocations: 45.64 kB / 354.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1107, allocations: 199.6 kB / 354.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1107, allocations: 3.938 kB / 354.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1107, allocations: 4 kB / 354.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1107, allocations: 0 / 354.8 MB, free: 8.152 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.0009323/0.1117, allocations: 0.5466 MB / 355.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1117, allocations: 8.031 kB / 355.3 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.438e-05/0.1118, allocations: 54.48 kB / 355.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.112, allocations: 39.7 kB / 355.4 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1122, allocations: 235.5 kB / 355.6 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1123, allocations: 20 kB / 355.7 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.1123, allocations: 16 kB / 355.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.1128, allocations: 226.3 kB / 355.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1128, allocations: 0 / 355.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.1128, allocations: 11.89 kB / 355.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1128, allocations: 4 kB / 355.9 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.1133, allocations: 176.2 kB / 356.1 MB, free: 6.723 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.1143, allocations: 0.6021 MB / 356.7 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.1153, allocations: 370.8 kB / 357.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1156, allocations: 133 kB / 357.2 MB, free: 5.566 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1156, allocations: 0 / 357.2 MB, free: 5.566 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.116, allocations: 195.8 kB / 357.4 MB, free: 5.367 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.116, allocations: 0 / 357.4 MB, free: 5.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009541/0.117, allocations: 413.4 kB / 357.8 MB, free: 4.961 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.117, allocations: 63.39 kB / 357.8 MB, free: 4.887 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1172, allocations: 211.8 kB / 358.1 MB, free: 4.668 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1173, allocations: 33.7 kB / 358.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.1174, allocations: 140.6 kB / 358.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1174, allocations: 63.02 kB / 358.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.1175, allocations: 8 kB / 358.3 MB, free: 4.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1176, allocations: 334.8 kB / 358.6 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.1179, allocations: 147.9 kB / 358.8 MB, free: 3.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.1183, allocations: 177.6 kB / 358.9 MB, free: 3.758 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.1186, allocations: 158.5 kB / 359.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1186, allocations: 0 / 359.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007612/0.1194, allocations: 413 kB / 359.5 MB, free: 3.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1194, allocations: 4 kB / 359.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1194, allocations: 0 / 359.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1195, allocations: 7.953 kB / 359.5 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.1198, allocations: 83.88 kB / 359.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1198, allocations: 4 kB / 359.6 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1199, allocations: 51.67 kB / 359.6 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.12, allocations: 11.97 kB / 359.7 MB, free: 3.035 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.000148/0.1201, allocations: 141.8 kB / 359.8 MB, free: 2.887 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1202, allocations: 19.72 kB / 359.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.1202, allocations: 25.86 kB / 359.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1202, allocations: 0 / 359.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1203, allocations: 7.953 kB / 359.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1203, allocations: 4 kB / 359.8 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1213, allocations: 0.6738 MB / 360.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1214, allocations: 3.938 kB / 360.5 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.1216, allocations: 55.95 kB / 360.6 MB, free: 2.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1216, allocations: 7.953 kB / 360.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1216, allocations: 8 kB / 360.6 MB, free: 2.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1217, allocations: 0 / 360.6 MB, free: 2.027 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1217, allocations: 0 / 360.6 MB, free: 2.027 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.1226, allocations: 0.5307 MB / 361.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.1227, allocations: 96.77 kB / 361.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.1228, allocations: 12.02 kB / 361.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.1229, allocations: 31.97 kB / 361.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.123, allocations: 19.97 kB / 361.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.123, allocations: 4 kB / 361.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1232, allocations: 147.2 kB / 361.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.1232, allocations: 0 / 361.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.1235, allocations: 71.92 kB / 361.5 MB, free: 1.082 MB / 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.001559/0.1251, allocations: 1.169 MB / 362.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007095/0.1258, allocations: 319.5 kB / 363 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1258, allocations: 0 / 363 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.1262, allocations: 137.3 kB / 363.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1265, allocations: 23.94 kB / 363.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.1291, allocations: 1.598 MB / 364.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1295, allocations: 0.744 MB / 365.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1296, allocations: 37.92 kB / 365.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1297, allocations: 67.41 kB / 365.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1297, allocations: 0 / 365.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.1458, allocations: 4.84 MB / 370.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.1461, allocations: 227.2 kB / 370.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.095, allocations: 0 / 370.6 MB, free: 7.988 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat