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.001359/0.001359, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001642/0.001642, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.02808/0.02808, allocations: 3.145 MB / 262.7 MB, free: 10.07 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.253e-06/1.253e-06, allocations: 0 / 332.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.098e-05, allocations: 2.312 kB / 332.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002029/0.00205, allocations: 1.533 MB / 334.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.003667, allocations: 1.102 MB / 335.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.003729, allocations: 3.938 kB / 335.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.003863, allocations: 19.86 kB / 335.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.003954, allocations: 19.8 kB / 335.4 MB, free: 13.68 MB / 266.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.0007031/0.004657, allocations: 267 kB / 335.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.004826, allocations: 167.6 kB / 335.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.661e-05/0.004903, allocations: 5.312 kB / 335.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.005022, allocations: 95.72 kB / 335.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.005095, allocations: 39.88 kB / 336 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.005119, allocations: 12 kB / 336 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.005453, allocations: 275.4 kB / 336.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.005495, allocations: 23.91 kB / 336.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.005556, allocations: 27.92 kB / 336.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.005949, allocations: 327.1 kB / 336.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.005953, allocations: 7.984 kB / 336.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005955, allocations: 0 / 336.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.00596, allocations: 0 / 336.6 MB, free: 12.45 MB / 266.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.00124/0.0072, allocations: 1.247 MB / 337.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.00723, allocations: 8.031 kB / 337.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.00761, allocations: 68.59 kB / 337.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.007799, allocations: 162.3 kB / 338.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.007818, allocations: 4.375 kB / 338.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.007848, allocations: 12.38 kB / 338.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.008203, allocations: 199.8 kB / 338.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.008212, allocations: 192 / 338.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.008229, allocations: 4.375 kB / 338.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.008234, allocations: 3.938 kB / 338.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.008579, allocations: 185.5 kB / 338.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.009019, allocations: 284.4 kB / 338.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.009385, allocations: 188.2 kB / 339 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.009626, allocations: 158.5 kB / 339.1 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.009644, allocations: 0 / 339.1 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.009994, allocations: 344.5 kB / 339.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.009995, allocations: 4 kB / 339.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009535/0.01095, allocations: 0.561 MB / 340 MB, free: 8.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.01098, allocations: 89.11 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.0111, allocations: 167.3 kB / 340.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.01112, allocations: 29.81 kB / 340.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.01116, allocations: 104.4 kB / 340.4 MB, free: 8.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.0112, allocations: 39.67 kB / 340.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/0.01129, allocations: 45.7 kB / 340.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.01134, allocations: 326.8 kB / 340.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.01161, allocations: 137.6 kB / 340.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.01184, allocations: 141.6 kB / 341.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.01226, allocations: 283.1 kB / 341.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01227, allocations: 64 / 341.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005358/0.0128, allocations: 356.9 kB / 341.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.01284, allocations: 51.81 kB / 341.8 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01285, allocations: 0 / 341.8 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.01287, allocations: 3.984 kB / 341.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01302, allocations: 27.92 kB / 341.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01303, allocations: 0 / 341.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01313, allocations: 19.92 kB / 341.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.01317, allocations: 23.97 kB / 341.8 MB, free: 6.938 MB / 266.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.0001146/0.01328, allocations: 175.5 kB / 342 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.01335, allocations: 31.84 kB / 342 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.01339, allocations: 9.469 kB / 342 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01339, allocations: 7.938 kB / 342 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01339, allocations: 0 / 342 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.0134, allocations: 3.984 kB / 342.1 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.0135, allocations: 153.2 kB / 342.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.0135, allocations: 0 / 342.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.01361, allocations: 19.92 kB / 342.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01361, allocations: 4 kB / 342.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.01363, allocations: 7.938 kB / 342.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01363, allocations: 3.984 kB / 342.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01363, allocations: 0 / 342.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.01464, allocations: 0.6658 MB / 342.9 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.01466, allocations: 19.94 kB / 342.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.01471, allocations: 19.92 kB / 342.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.01483, allocations: 15.98 kB / 343 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.01491, allocations: 11.98 kB / 343 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.01494, allocations: 23.97 kB / 343 MB, free: 5.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.01502, allocations: 124.8 kB / 343.1 MB, free: 5.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01502, allocations: 0 / 343.1 MB, free: 5.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.01541, allocations: 87.86 kB / 343.2 MB, free: 5.484 MB / 266.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.0006548/0.01606, allocations: 271.3 kB / 343.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.01671, allocations: 430.6 kB / 343.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01671, allocations: 7.938 kB / 343.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.01704, allocations: 264.9 kB / 344.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01729, allocations: 27.98 kB / 344.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.01805, allocations: 424.3 kB / 344.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.67e-05/0.01811, allocations: 101.3 kB / 344.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.899e-05/0.01815, allocations: 12.48 kB / 344.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.01819, allocations: 12.5 kB / 344.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01819, allocations: 0 / 344.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of Templates: time 0.00652/0.02471, allocations: 3.49 MB / 348.2 MB, free: 460 kB / 266.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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.691139206988737]