Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002169/0.002169, allocations: 184.1 kB / 8.128 MB, free: 2.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.327/1.327, allocations: 194.2 MB / 202.8 MB, free: 8.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 115 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.115e-06, allocations: 4 kB / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08262, allocations: 44.48 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.3189, allocations: 72.91 MB / 415 MB, free: 22.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.3191, allocations: 71.78 kB / 415 MB, free: 22.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0132/0.3324, allocations: 4.565 MB / 419.6 MB, free: 18.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3324, allocations: 4 kB / 419.6 MB, free: 18.36 MB / 314.7 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.0007349/0.3332, allocations: 0.5167 MB / 420.1 MB, free: 17.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3332, allocations: 12.02 kB / 420.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.3334, allocations: 39.7 kB / 420.2 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3337, allocations: 241.3 kB / 420.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.3337, allocations: 6.188 kB / 420.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.3338, allocations: 17.06 kB / 420.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001984/0.334, allocations: 87.77 kB / 420.5 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3342, allocations: 142 kB / 420.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3342, allocations: 4 kB / 420.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.3342, allocations: 0 / 420.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3342, allocations: 4 kB / 420.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.335, allocations: 0.5201 MB / 421.2 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.3356, allocations: 232.4 kB / 421.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3357, allocations: 72.89 kB / 421.5 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3357, allocations: 0 / 421.5 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.3359, allocations: 118.3 kB / 421.6 MB, free: 16.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.3359, allocations: 3.75 kB / 421.6 MB, free: 16.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003131/0.3362, allocations: 182 kB / 421.8 MB, free: 16.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.3362, allocations: 63.66 kB / 421.8 MB, free: 16.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3364, allocations: 159.8 kB / 422 MB, free: 16.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.3364, allocations: 41.06 kB / 422 MB, free: 16.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.3365, allocations: 115.1 kB / 422.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3365, allocations: 72.25 kB / 422.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.3365, allocations: 0 / 422.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.3366, allocations: 329.6 kB / 422.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.3368, allocations: 84.3 kB / 422.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3369, allocations: 121.2 kB / 422.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3372, allocations: 96.83 kB / 422.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3372, allocations: 0 / 422.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004463/0.3376, allocations: 298.7 kB / 423.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.3377, allocations: 4 kB / 423.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3377, allocations: 0 / 423.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3377, allocations: 7.984 kB / 423.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.338, allocations: 79.83 kB / 423.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3381, allocations: 5.641 kB / 423.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3383, allocations: 43.72 kB / 423.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.3383, allocations: 15.94 kB / 423.3 MB, free: 15.01 MB / 314.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 7.934e-05/0.3384, allocations: 120.3 kB / 423.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3385, allocations: 15.81 kB / 423.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3385, allocations: 16.31 kB / 423.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3385, allocations: 2.062 kB / 423.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3385, allocations: 3.906 kB / 423.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.3385, allocations: 4 kB / 423.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.3392, allocations: 0.5145 MB / 423.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3392, allocations: 3.984 kB / 424 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3395, allocations: 55.78 kB / 424 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3395, allocations: 7.938 kB / 424 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.3395, allocations: 7.984 kB / 424 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3395, allocations: 0 / 424 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3395, allocations: 0 / 424 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000394/0.3399, allocations: 358.8 kB / 424.4 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.34, allocations: 92.98 kB / 424.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.34, allocations: 7.812 kB / 424.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3403, allocations: 35.03 kB / 424.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3403, allocations: 11.98 kB / 424.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3403, allocations: 11.55 kB / 424.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.919e-05/0.3404, allocations: 132.2 kB / 424.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.3408, allocations: 83.39 kB / 424.7 MB, free: 13.64 MB / 314.7 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]) * 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.000451/0.3413, allocations: 221.5 kB / 425 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3416, allocations: 225.2 kB / 425.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3417, allocations: 3.938 kB / 425.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3418, allocations: 80.36 kB / 425.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.342, allocations: 17.38 kB / 425.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.3426, allocations: 305.2 kB / 425.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.3428, allocations: 0.7674 MB / 426.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3428, allocations: 0 / 426.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of Templates: time 0.005855/0.3487, allocations: 3.216 MB / 429.6 MB, free: 8.977 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)