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.0009197/0.0009197, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000959/0.000959, allocations: 173 kB / 23.5 MB, free: 1.055 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.045/1.045, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.02397/0.02397, allocations: 3.149 MB / 263.4 MB, free: 10.11 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.994e-06/1.994e-06, allocations: 0 / 333.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.314e-05, allocations: 4.703 kB / 333.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002683/0.002706, allocations: 1.561 MB / 335 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.004671, allocations: 1.137 MB / 336.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.00476, allocations: 7.938 kB / 336.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.004905, allocations: 19.8 kB / 336.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.005014, allocations: 15.88 kB / 336.2 MB, free: 14.66 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.0007873/0.005802, allocations: 270.9 kB / 336.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.00604, allocations: 163.6 kB / 336.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.006132, allocations: 13.28 kB / 336.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.006292, allocations: 79.81 kB / 336.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.00639, allocations: 43.88 kB / 336.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.006419, allocations: 8 kB / 336.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.006867, allocations: 279.4 kB / 337 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.006912, allocations: 23.92 kB / 337.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.006982, allocations: 31.91 kB / 337.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.007446, allocations: 311.1 kB / 337.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.007448, allocations: 0 / 337.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007449, allocations: 0 / 337.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.007454, allocations: 0 / 337.4 MB, free: 13.46 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.001318/0.008772, allocations: 1.034 MB / 338.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.008817, allocations: 15.91 kB / 338.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.009202, allocations: 63.64 kB / 338.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.009482, allocations: 173.8 kB / 338.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.009508, allocations: 8.375 kB / 338.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.009536, allocations: 12.38 kB / 338.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.009871, allocations: 159 kB / 338.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.009882, allocations: 4.172 kB / 338.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.0099, allocations: 4.375 kB / 338.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.009913, allocations: 3.938 kB / 338.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.01011, allocations: 117.6 kB / 339 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.01064, allocations: 331.7 kB / 339.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.01088, allocations: 132.7 kB / 339.4 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.01104, allocations: 109.4 kB / 339.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.01106, allocations: 0 / 339.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.01137, allocations: 295.7 kB / 339.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.01138, allocations: 0 / 339.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007036/0.01208, allocations: 406.6 kB / 340.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.01214, allocations: 89.09 kB / 340.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01232, allocations: 218.5 kB / 340.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.01235, allocations: 33.69 kB / 340.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.01243, allocations: 143.2 kB / 340.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.01247, allocations: 39.69 kB / 340.7 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.01256, allocations: 47.36 kB / 340.8 MB, free: 9.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.01271, allocations: 0.4962 MB / 341.3 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.01286, allocations: 89.61 kB / 341.4 MB, free: 9.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01298, allocations: 81.67 kB / 341.4 MB, free: 9.105 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.01322, allocations: 190 kB / 341.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01322, allocations: 0 / 341.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004028/0.01363, allocations: 256.9 kB / 341.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.01368, allocations: 49.62 kB / 341.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01369, allocations: 7.922 kB / 341.9 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.0137, allocations: 4 kB / 341.9 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.01384, allocations: 23.92 kB / 342 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01385, allocations: 4 kB / 342 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.01393, allocations: 23.88 kB / 342 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.01398, allocations: 19.97 kB / 342 MB, free: 8.5 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,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,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.0001575/0.01413, allocations: 206.3 kB / 342.2 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.01422, allocations: 35.81 kB / 342.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.01425, allocations: 9.469 kB / 342.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01425, allocations: 4 kB / 342.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01426, allocations: 7.938 kB / 342.3 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01426, allocations: 0 / 342.3 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.01442, allocations: 160.5 kB / 342.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01443, allocations: 0 / 342.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.01451, allocations: 11.98 kB / 342.4 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01451, allocations: 0 / 342.4 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.01454, allocations: 15.92 kB / 342.5 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01454, allocations: 4 kB / 342.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01455, allocations: 0 / 342.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.01533, allocations: 0.4934 MB / 343 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.01535, allocations: 15.94 kB / 343 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.0154, allocations: 20.06 kB / 343 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.01548, allocations: 11.98 kB / 343 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.01556, allocations: 11.98 kB / 343 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.01561, allocations: 28.12 kB / 343 MB, free: 7.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.01571, allocations: 160.8 kB / 343.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01571, allocations: 0 / 343.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.01608, allocations: 87.86 kB / 343.3 MB, free: 7.145 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.0006403/0.01672, allocations: 283.3 kB / 343.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.0172, allocations: 314.4 kB / 343.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0172, allocations: 0 / 343.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.01749, allocations: 220.7 kB / 344.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.01775, allocations: 32.08 kB / 344.1 MB, free: 6.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.01846, allocations: 384.8 kB / 344.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01851, allocations: 67.34 kB / 344.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.01856, allocations: 20.47 kB / 344.6 MB, free: 5.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.0186, allocations: 12.5 kB / 344.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0186, allocations: 0 / 344.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of Templates: time 0.01367/0.03228, allocations: 3.484 MB / 348.1 MB, free: 2.324 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.1918425110634416]