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.0009184/0.0009184, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001004/0.001004, allocations: 181 kB / 23.36 MB, free: 1.133 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.095/1.095, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.02579/0.02579, allocations: 3.161 MB / 263.4 MB, free: 9.938 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.663e-06/1.663e-06, allocations: 0 / 280.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.171e-05, allocations: 5.688 kB / 280.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002664/0.002686, allocations: 1.613 MB / 282.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.004316, allocations: 1.145 MB / 283.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.276e-05/0.004409, allocations: 3.938 kB / 283.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.004567, allocations: 19.73 kB / 283.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.004675, allocations: 19.86 kB / 283.5 MB, free: 5.836 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.0007958/0.00547, allocations: 247 kB / 283.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.005666, allocations: 171.5 kB / 283.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.005743, allocations: 5.969 kB / 283.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.005879, allocations: 83.84 kB / 284 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.005961, allocations: 51.81 kB / 284 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.005984, allocations: 12 kB / 284 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.006383, allocations: 295.4 kB / 284.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.00643, allocations: 23.91 kB / 284.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.006482, allocations: 35.86 kB / 284.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.006852, allocations: 303.1 kB / 284.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.006856, allocations: 0 / 284.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006857, allocations: 0 / 284.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.006861, allocations: 0 / 284.7 MB, free: 4.633 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.0008919/0.007753, allocations: 0.9121 MB / 285.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.007789, allocations: 12.03 kB / 285.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.008072, allocations: 60.75 kB / 285.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.008263, allocations: 163 kB / 285.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.008281, allocations: 4.375 kB / 285.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.008302, allocations: 8.375 kB / 285.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.008503, allocations: 139.8 kB / 286 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.008512, allocations: 192 / 286 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.008524, allocations: 4.375 kB / 286 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.00853, allocations: 3.938 kB / 286 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.816e-05/0.008618, allocations: 97.59 kB / 286.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.008933, allocations: 211 kB / 286.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.009076, allocations: 148.1 kB / 286.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/0.009143, allocations: 90.61 kB / 286.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.009156, allocations: 0 / 286.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.009339, allocations: 260.9 kB / 286.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.00934, allocations: 0 / 286.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003271/0.009668, allocations: 326.4 kB / 287.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.009707, allocations: 93.09 kB / 287.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.009812, allocations: 155.3 kB / 287.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.009826, allocations: 25.7 kB / 287.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.009866, allocations: 100.4 kB / 287.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.009897, allocations: 39.69 kB / 287.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.00995, allocations: 41.67 kB / 287.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.01004, allocations: 326.9 kB / 287.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.01011, allocations: 80.39 kB / 287.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.01016, allocations: 69.67 kB / 288 MB, free: 1.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.01029, allocations: 169.2 kB / 288.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.01029, allocations: 7.938 kB / 288.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001937/0.01049, allocations: 205 kB / 288.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.01052, allocations: 45.69 kB / 288.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01053, allocations: 0 / 288.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01054, allocations: 7.984 kB / 288.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.01063, allocations: 23.92 kB / 288.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.01063, allocations: 3.938 kB / 288.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.01068, allocations: 15.94 kB / 288.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.01071, allocations: 23.97 kB / 288.5 MB, free: 0.5273 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,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.0001028/0.01082, allocations: 170.3 kB / 288.7 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.01086, allocations: 23.92 kB / 288.7 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.01089, allocations: 9.469 kB / 288.7 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01089, allocations: 4 kB / 288.7 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01089, allocations: 0 / 288.7 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.0109, allocations: 3.938 kB / 288.7 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.01099, allocations: 101.8 kB / 288.8 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.01099, allocations: 4.062 kB / 288.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.01105, allocations: 15.98 kB / 288.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01105, allocations: 4 kB / 288.8 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01106, allocations: 11.92 kB / 288.8 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01107, allocations: 0 / 288.8 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01107, allocations: 0 / 288.8 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1128/0.1239, allocations: 399.8 kB / 289.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.1239, allocations: 14.44 kB / 289.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.124, allocations: 12.17 kB / 289.3 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.124, allocations: 10.86 kB / 289.3 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.1241, allocations: 10.11 kB / 289.3 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.1242, allocations: 24.28 kB / 289.3 MB, free: 23.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.334e-05/0.1242, allocations: 42.77 kB / 289.3 MB, free: 23.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1242, allocations: 0 / 289.3 MB, free: 23.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.1245, allocations: 89.23 kB / 289.4 MB, free: 23.35 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.0005592/0.1251, allocations: 287.8 kB / 289.7 MB, free: 23.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.1254, allocations: 283.1 kB / 290 MB, free: 23.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1254, allocations: 1.719 kB / 290 MB, free: 23.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1255, allocations: 197 kB / 290.2 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.1257, allocations: 24.73 kB / 290.2 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.1262, allocations: 358.7 kB / 290.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.1263, allocations: 69.45 kB / 290.6 MB, free: 22.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.1263, allocations: 16.05 kB / 290.6 MB, free: 22.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1265, allocations: 95.64 kB / 290.7 MB, free: 22.74 MB / 266.7 MB Notification: Performance of SimCode: time 4.6e-07/0.1265, allocations: 1.781 kB / 290.7 MB, free: 22.74 MB / 266.7 MB Notification: Performance of Templates: time 0.006641/0.1331, allocations: 3.705 MB / 294.4 MB, free: 22.44 MB / 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.120797856710851]