Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 85.95 kB / 19.87 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000973/0.000973, allocations: 165.7 kB / 23.27 MB, free: 1.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.174/1.174, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.0172/0.0172, allocations: 3.156 MB / 263.4 MB, free: 9.898 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 333.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.446e-05, allocations: 4.844 kB / 333.9 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002196/0.002221, allocations: 1.565 MB / 335.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.00397, allocations: 1.129 MB / 336.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.00406, allocations: 4 kB / 336.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.004211, allocations: 23.73 kB / 336.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004315, allocations: 19.86 kB / 336.6 MB, free: 13.93 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0008465/0.005161, allocations: 267 kB / 336.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.00536, allocations: 167.6 kB / 337.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.005454, allocations: 9.297 kB / 337.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.005596, allocations: 83.86 kB / 337.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.005684, allocations: 39.89 kB / 337.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.005712, allocations: 12 kB / 337.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.006334, allocations: 279.4 kB / 337.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.006385, allocations: 23.91 kB / 337.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.006435, allocations: 31.92 kB / 337.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.006853, allocations: 315 kB / 337.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006857, allocations: 0 / 337.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006858, allocations: 3.938 kB / 337.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.006862, allocations: 0 / 337.8 MB, free: 12.72 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001035/0.007897, allocations: 1.046 MB / 338.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.007941, allocations: 8.031 kB / 338.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.008288, allocations: 68.72 kB / 339 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.008481, allocations: 173.8 kB / 339.1 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.008502, allocations: 4.375 kB / 339.1 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.008527, allocations: 8.359 kB / 339.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.008745, allocations: 139.8 kB / 339.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.008755, allocations: 4.172 kB / 339.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.008766, allocations: 4.375 kB / 339.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.008773, allocations: 3.938 kB / 339.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.008858, allocations: 93.66 kB / 339.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.009212, allocations: 316.2 kB / 339.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.00935, allocations: 108.7 kB / 339.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.009423, allocations: 93.36 kB / 339.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.009444, allocations: 4 kB / 339.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.009654, allocations: 263.8 kB / 340.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.009655, allocations: 0 / 340.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004158/0.01007, allocations: 358.6 kB / 340.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003597/0.01043, allocations: 97.05 kB / 340.6 MB, free: 9.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.01057, allocations: 218.5 kB / 340.8 MB, free: 9.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.01059, allocations: 29.7 kB / 340.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.01066, allocations: 151.2 kB / 341 MB, free: 9.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.0107, allocations: 35.69 kB / 341 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.01076, allocations: 51.33 kB / 341.1 MB, free: 9.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.01089, allocations: 0.4962 MB / 341.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.01096, allocations: 73.67 kB / 341.6 MB, free: 8.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.01102, allocations: 68.88 kB / 341.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.01115, allocations: 171.1 kB / 341.9 MB, free: 8.375 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01115, allocations: 7.938 kB / 341.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000247/0.0114, allocations: 225 kB / 342.1 MB, free: 8.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.01144, allocations: 49.62 kB / 342.1 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01145, allocations: 3.938 kB / 342.2 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.01146, allocations: 64 / 342.2 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.01156, allocations: 27.98 kB / 342.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01157, allocations: 0 / 342.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.01162, allocations: 19.88 kB / 342.2 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.01166, allocations: 23.97 kB / 342.2 MB, free: 8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (globalSeed.seed,globalSeed.id_impure,discreteNoise.localSeed,discreteNoise.actualGlobalSeed,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001406/0.0118, allocations: 214.2 kB / 342.4 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.01186, allocations: 23.89 kB / 342.5 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.0119, allocations: 21.39 kB / 342.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.0119, allocations: 0 / 342.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.0119, allocations: 0 / 342.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01191, allocations: 0 / 342.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.01203, allocations: 137.2 kB / 342.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01203, allocations: 4 kB / 342.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.01208, allocations: 8 kB / 342.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01209, allocations: 3.984 kB / 342.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.0121, allocations: 11.98 kB / 342.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0121, allocations: 0 / 342.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01211, allocations: 7.938 kB / 342.6 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.01254, allocations: 456.6 kB / 343.1 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.01256, allocations: 15.89 kB / 343.1 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01259, allocations: 8 kB / 343.1 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.01263, allocations: 19.92 kB / 343.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.01269, allocations: 11.92 kB / 343.1 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.01272, allocations: 27.97 kB / 343.2 MB, free: 6.973 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.01279, allocations: 152.8 kB / 343.3 MB, free: 6.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01279, allocations: 4.031 kB / 343.3 MB, free: 6.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.01307, allocations: 87.86 kB / 343.4 MB, free: 6.734 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004914/0.01356, allocations: 291.4 kB / 343.7 MB, free: 6.484 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.01392, allocations: 289.3 kB / 344 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01392, allocations: 0 / 344 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.0145, allocations: 188.7 kB / 344.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01475, allocations: 31.14 kB / 344.2 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.01546, allocations: 353.1 kB / 344.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.01551, allocations: 67.33 kB / 344.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.01556, allocations: 12.48 kB / 344.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.01576, allocations: 122.2 kB / 344.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01576, allocations: 0 / 344.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of Templates: time 0.008675/0.02443, allocations: 3.819 MB / 348.6 MB, free: 1.562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.608085080049932]