Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 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.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001743/0.001743, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.437/1.437, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.00136/0.00136, allocations: 59.91 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09275, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003267/0.09605, allocations: 1.839 MB / 330.6 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.09788, allocations: 1.007 MB / 331.6 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.09799, allocations: 0 / 331.6 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.09812, allocations: 15.75 kB / 331.6 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.0983, allocations: 35.7 kB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.09887, allocations: 191.5 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.09913, allocations: 223.4 kB / 332 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.09932, allocations: 60.27 kB / 332.1 MB, free: 376 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.09944, allocations: 95.67 kB / 332.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.09959, allocations: 115.4 kB / 332.3 MB, free: 164 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.09964, allocations: 24 kB / 332.3 MB, free: 140 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.0999, allocations: 143.9 kB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.09998, allocations: 51.78 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1001, allocations: 107.4 kB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.1005, allocations: 303 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1005, allocations: 3.984 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1005, allocations: 0 / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1005, allocations: 0 / 332.9 MB, free: 15.54 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.001194/0.1017, allocations: 0.5544 MB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1018, allocations: 12.03 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.102, allocations: 44.58 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1023, allocations: 232.8 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.1023, allocations: 16.66 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.1024, allocations: 20.38 kB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.1029, allocations: 203.2 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1029, allocations: 0 / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1029, allocations: 7.984 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1029, allocations: 4 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.1033, allocations: 160.1 kB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1044, allocations: 0.5621 MB / 334.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.1054, allocations: 318.6 kB / 335 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.1057, allocations: 112.7 kB / 335.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1058, allocations: 4 kB / 335.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/0.1062, allocations: 167.2 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.1062, allocations: 3.938 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009674/0.1072, allocations: 361.1 kB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1072, allocations: 55.41 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1075, allocations: 215.7 kB / 335.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1075, allocations: 37.7 kB / 336 MB, free: 12.28 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1076, allocations: 120.6 kB / 336.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.1077, allocations: 86.97 kB / 336.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1078, allocations: 65.69 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.108, allocations: 338.8 kB / 336.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.1083, allocations: 127.9 kB / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.1086, allocations: 169.3 kB / 336.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.1092, allocations: 264.6 kB / 337.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1092, allocations: 3.938 kB / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007715/0.11, allocations: 375 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.11, allocations: 4 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.11, allocations: 4.031 kB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.11, allocations: 4 kB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.1103, allocations: 67.89 kB / 337.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.1104, allocations: 11.98 kB / 337.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1105, allocations: 31.73 kB / 337.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1106, allocations: 11.98 kB / 337.6 MB, free: 10.6 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.0001851/0.1107, allocations: 153.6 kB / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.1108, allocations: 19.75 kB / 337.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.1109, allocations: 25.86 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1109, allocations: 0 / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1109, allocations: 3.938 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1109, allocations: 0 / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.112, allocations: 0.6379 MB / 338.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1121, allocations: 0 / 338.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.1123, allocations: 39.97 kB / 338.5 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1123, allocations: 3.984 kB / 338.5 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.1123, allocations: 12 kB / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1124, allocations: 0 / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1124, allocations: 0 / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.1133, allocations: 495.8 kB / 339 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.1134, allocations: 100.8 kB / 339.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1134, allocations: 12 kB / 339.1 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1136, allocations: 19.97 kB / 339.1 MB, free: 8.992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1137, allocations: 11.98 kB / 339.1 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1137, allocations: 8 kB / 339.1 MB, free: 8.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1138, allocations: 155.2 kB / 339.3 MB, free: 8.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1138, allocations: 0 / 339.3 MB, free: 8.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.1142, allocations: 71.91 kB / 339.3 MB, free: 8.75 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.0004277/0.1146, allocations: 217.1 kB / 339.6 MB, free: 8.539 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006748/0.1153, allocations: 287.5 kB / 339.8 MB, free: 8.258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1153, allocations: 0 / 339.8 MB, free: 8.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.1156, allocations: 111.9 kB / 339.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1159, allocations: 35.92 kB / 340 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.1168, allocations: 450.7 kB / 340.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1171, allocations: 0.7398 MB / 341.2 MB, free: 6.879 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.1172, allocations: 33.88 kB / 341.2 MB, free: 6.844 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.1173, allocations: 27.42 kB / 341.2 MB, free: 6.816 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1173, allocations: 0 / 341.2 MB, free: 6.816 MB / 286.1 MB Notification: Performance of Templates: time 0.006793/0.1241, allocations: 3.085 MB / 344.3 MB, free: 3.73 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)