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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001492/0.001492, allocations: 192 kB / 18.63 MB, free: 4.508 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.393/1.393, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 47.61 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1117, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003559/0.1153, allocations: 1.837 MB / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1169, allocations: 0.9742 MB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.117, allocations: 0 / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.1171, allocations: 27.67 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1173, allocations: 27.73 kB / 354.4 MB, free: 0.8086 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.000575/0.1179, allocations: 195.4 kB / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1182, allocations: 215.5 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1184, allocations: 72.14 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1185, allocations: 95.61 kB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.119, allocations: 126.8 kB / 355.1 MB, free: 124 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.1191, allocations: 20 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.1193, allocations: 127.8 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1194, allocations: 51.83 kB / 355.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.848e-05/0.1195, allocations: 99.45 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1199, allocations: 299 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1199, allocations: 3.938 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1199, allocations: 8 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1199, allocations: 0 / 355.7 MB, free: 15.52 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.001056/0.121, allocations: 0.5428 MB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.121, allocations: 12.03 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.1212, allocations: 36.64 kB / 356.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1215, allocations: 245.6 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.1216, allocations: 24.16 kB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.1216, allocations: 20 kB / 356.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.1221, allocations: 191.6 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1221, allocations: 0 / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1221, allocations: 4 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1221, allocations: 8 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.1225, allocations: 152.4 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.1235, allocations: 0.5784 MB / 357.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009515/0.1245, allocations: 298.7 kB / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.1248, allocations: 120.8 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1248, allocations: 0 / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.1252, allocations: 165.9 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.1252, allocations: 0 / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009245/0.1261, allocations: 361.1 kB / 358.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1262, allocations: 63.47 kB / 358.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1264, allocations: 219.6 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.1265, allocations: 41.69 kB / 358.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.1266, allocations: 120.6 kB / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.1266, allocations: 82.84 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.1267, allocations: 65.69 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1268, allocations: 338.8 kB / 359.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.1272, allocations: 131.9 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.1275, allocations: 161.7 kB / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.1281, allocations: 272.3 kB / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1281, allocations: 0 / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007483/0.1289, allocations: 374.8 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1289, allocations: 7.938 kB / 360.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.1289, allocations: 4 kB / 360.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1289, allocations: 3.984 kB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.1292, allocations: 63.89 kB / 360.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1292, allocations: 4 kB / 360.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1294, allocations: 47.72 kB / 360.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.1294, allocations: 7.938 kB / 360.3 MB, free: 10.59 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,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.1296, allocations: 149.6 kB / 360.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1296, allocations: 15.81 kB / 360.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.1297, allocations: 17.88 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1297, allocations: 0 / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.1297, allocations: 4 kB / 360.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1297, allocations: 7.984 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1308, allocations: 0.6289 MB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1308, allocations: 4 kB / 361.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.1311, allocations: 43.95 kB / 361.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1311, allocations: 0 / 361.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.1311, allocations: 8 kB / 361.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1311, allocations: 0 / 361.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1311, allocations: 4 kB / 361.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.1321, allocations: 0.4914 MB / 361.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.1322, allocations: 92.86 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.1322, allocations: 8.062 kB / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1324, allocations: 23.97 kB / 361.8 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.1324, allocations: 15.98 kB / 361.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1325, allocations: 7.984 kB / 361.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1326, allocations: 147.2 kB / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1326, allocations: 0 / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.133, allocations: 67.89 kB / 362.1 MB, free: 8.766 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004289/0.1334, allocations: 197 kB / 362.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007497/0.1342, allocations: 283.7 kB / 362.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1342, allocations: 0 / 362.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.1345, allocations: 115.8 kB / 362.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1348, allocations: 31.98 kB / 362.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/0.1357, allocations: 443.9 kB / 363.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1361, allocations: 0.7398 MB / 363.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.1362, allocations: 33.92 kB / 363.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.1363, allocations: 23.42 kB / 363.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1363, allocations: 4 kB / 363.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of Templates: time 0.007376/0.1437, allocations: 2.944 MB / 366.9 MB, free: 3.957 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1)