Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.NormalNoiseProperties,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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001851/0.001851, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 47.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1096, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003303/0.1129, allocations: 1.835 MB / 330.6 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1151, allocations: 1.276 MB / 331.8 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.1153, allocations: 4 kB / 331.8 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1154, allocations: 23.67 kB / 331.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.521e-05/0.1155, allocations: 31.73 kB / 331.9 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.1164, allocations: 315.1 kB / 332.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1167, allocations: 223.5 kB / 332.4 MB, free: 32 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1169, allocations: 60.27 kB / 332.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.117, allocations: 99.61 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1172, allocations: 107.6 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.1172, allocations: 23.94 kB / 332.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.1177, allocations: 291.6 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.1178, allocations: 59.75 kB / 333.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1179, allocations: 99.47 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.1184, allocations: 406.8 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1184, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1184, allocations: 4 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1184, allocations: 0 / 333.5 MB, free: 14.9 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.001121/0.1195, allocations: 0.57 MB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1196, allocations: 12.02 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.1198, allocations: 36.66 kB / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1201, allocations: 236.8 kB / 334.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.1201, allocations: 12.66 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.1202, allocations: 32.3 kB / 334.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.1206, allocations: 191.3 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1207, allocations: 0 / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1207, allocations: 4 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1207, allocations: 8 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.1211, allocations: 156.1 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1221, allocations: 0.5699 MB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009938/0.1231, allocations: 306.7 kB / 335.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.1234, allocations: 116.7 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1235, allocations: 8.062 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.1239, allocations: 163.2 kB / 335.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.1239, allocations: 0 / 335.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001054/0.1249, allocations: 353.1 kB / 336.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.125, allocations: 63.41 kB / 336.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1253, allocations: 211.7 kB / 336.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.1253, allocations: 37.7 kB / 336.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1255, allocations: 128.6 kB / 336.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.1256, allocations: 78.89 kB / 336.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1257, allocations: 65.69 kB / 336.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.1259, allocations: 338.7 kB / 337.2 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.1263, allocations: 139.9 kB / 337.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.1266, allocations: 157.4 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.1272, allocations: 264.6 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.1272, allocations: 3.938 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000772/0.128, allocations: 383 kB / 338.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.128, allocations: 8 kB / 338.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1281, allocations: 0 / 338.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1281, allocations: 3.938 kB / 338.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1284, allocations: 67.89 kB / 338.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1284, allocations: 3.984 kB / 338.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1286, allocations: 39.73 kB / 338.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1286, allocations: 15.98 kB / 338.3 MB, free: 9.953 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,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.0001451/0.1288, allocations: 141.6 kB / 338.4 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1288, allocations: 15.81 kB / 338.4 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.1289, allocations: 25.86 kB / 338.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1289, allocations: 4 kB / 338.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1289, allocations: 0 / 338.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1289, allocations: 7.984 kB / 338.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.13, allocations: 0.6379 MB / 339.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.13, allocations: 0 / 339.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.1303, allocations: 47.95 kB / 339.1 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1303, allocations: 4 kB / 339.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.1303, allocations: 0 / 339.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1304, allocations: 4 kB / 339.1 MB, free: 9.004 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1304, allocations: 0 / 339.1 MB, free: 9.004 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1314, allocations: 499.8 kB / 339.6 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.1315, allocations: 92.86 kB / 339.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.1315, allocations: 19.92 kB / 339.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1317, allocations: 23.98 kB / 339.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.1318, allocations: 15.97 kB / 339.8 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1318, allocations: 4 kB / 339.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1319, allocations: 147.2 kB / 339.9 MB, free: 8.184 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1319, allocations: 0 / 339.9 MB, free: 8.184 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.1325, allocations: 107.9 kB / 340 MB, free: 8.078 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 (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.0007125/0.1332, allocations: 285.1 kB / 340.3 MB, free: 7.801 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007311/0.1339, allocations: 275.5 kB / 340.6 MB, free: 7.531 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1339, allocations: 0 / 340.6 MB, free: 7.531 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.1342, allocations: 119.9 kB / 340.7 MB, free: 7.414 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1346, allocations: 35.8 kB / 340.7 MB, free: 7.379 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1356, allocations: 446.7 kB / 341.2 MB, free: 6.918 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.1361, allocations: 0.7359 MB / 341.9 MB, free: 6.152 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.1363, allocations: 37.91 kB / 341.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.1364, allocations: 27.42 kB / 342 MB, free: 6.086 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1364, allocations: 0 / 342 MB, free: 6.086 MB / 286.1 MB Notification: Performance of Templates: time 0.008327/0.1447, allocations: 3.724 MB / 345.7 MB, free: 2.359 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)