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.001261/0.001261, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00214/0.003401, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001287/0.001287, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002983, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.122/1.122, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.225, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo): time 0.02066/0.02066, allocations: 3.158 MB / 247.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003041/0.02371, allocations: 1.212 MB / 248.5 MB, free: 10.57 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-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.332e-06/1.332e-06, allocations: 0 / 249.8 MB, free: 9.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.185e-05, allocations: 2.312 kB / 249.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.005494/0.005516, allocations: 1.613 MB / 251.4 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.007233, allocations: 1.148 MB / 252.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.007313, allocations: 4 kB / 252.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.007395, allocations: 23.73 kB / 252.6 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.007461, allocations: 11.88 kB / 252.6 MB, free: 6.473 MB / 250.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.0007772/0.008238, allocations: 247 kB / 252.8 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.008465, allocations: 167.6 kB / 253 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.008531, allocations: 5.969 kB / 253 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.008691, allocations: 111.7 kB / 253.1 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.008777, allocations: 47.88 kB / 253.1 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.0088, allocations: 12 kB / 253.2 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.009238, allocations: 279.5 kB / 253.4 MB, free: 5.621 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.009286, allocations: 19.88 kB / 253.5 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.009335, allocations: 27.94 kB / 253.5 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.009706, allocations: 263.2 kB / 253.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.009716, allocations: 0 / 253.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.009717, allocations: 0 / 253.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.009726, allocations: 0 / 253.7 MB, free: 5.316 MB / 250.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.001045/0.01077, allocations: 0.9391 MB / 254.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.0108, allocations: 8.031 kB / 254.7 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.01113, allocations: 144.6 kB / 254.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.01134, allocations: 167 kB / 255 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.01136, allocations: 8.375 kB / 255 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.01138, allocations: 8.375 kB / 255 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.0116, allocations: 159.5 kB / 255.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.01161, allocations: 192 / 255.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.01162, allocations: 4.375 kB / 255.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.01163, allocations: 3.938 kB / 255.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.01173, allocations: 97.59 kB / 255.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.01204, allocations: 203.1 kB / 255.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.0122, allocations: 152.2 kB / 255.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.01228, allocations: 90.59 kB / 255.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.01229, allocations: 0 / 255.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.0125, allocations: 276.8 kB / 256 MB, free: 2.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.0125, allocations: 0 / 256 MB, free: 2.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004651/0.01297, allocations: 338.7 kB / 256.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.01303, allocations: 190.2 kB / 256.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01314, allocations: 167.3 kB / 256.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.01316, allocations: 29.69 kB / 256.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.01321, allocations: 96.52 kB / 256.8 MB, free: 2.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.01325, allocations: 39.66 kB / 256.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.01332, allocations: 41.67 kB / 256.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.01341, allocations: 326.8 kB / 257.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.01351, allocations: 80.5 kB / 257.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.01359, allocations: 81.62 kB / 257.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.01376, allocations: 180.8 kB / 257.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01377, allocations: 3.938 kB / 257.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002121/0.01398, allocations: 217 kB / 257.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.01402, allocations: 45.69 kB / 257.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01402, allocations: 0 / 257.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.01404, allocations: 0 / 257.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.01413, allocations: 31.91 kB / 257.8 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.01414, allocations: 3.938 kB / 257.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.01418, allocations: 23.88 kB / 257.8 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.01423, allocations: 15.98 kB / 257.8 MB, free: 0.8828 MB / 250.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.0001241/0.01435, allocations: 170.3 kB / 258 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.01441, allocations: 19.98 kB / 258 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.01444, allocations: 17.45 kB / 258 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01444, allocations: 0 / 258 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01444, allocations: 0 / 258 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01445, allocations: 3.938 kB / 258 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.01456, allocations: 105.7 kB / 258.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01456, allocations: 3.938 kB / 258.2 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.01462, allocations: 15.98 kB / 258.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.01464, allocations: 11.91 kB / 258.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01464, allocations: 0 / 258.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.01466, allocations: 24.03 kB / 258.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01467, allocations: 0 / 258.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01467, allocations: 0 / 258.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.01512, allocations: 431.6 kB / 258.6 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.01516, allocations: 12 kB / 258.6 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.01521, allocations: 11.98 kB / 258.6 MB, free: 0 / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.01528, allocations: 8.047 kB / 258.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.01531, allocations: 23.91 kB / 258.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.01535, allocations: 41.45 kB / 258.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01535, allocations: 32 / 258.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.01566, allocations: 91.86 kB / 258.8 MB, free: 15.84 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.0006712/0.01633, allocations: 323.2 kB / 259.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.01665, allocations: 295.5 kB / 259.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.01666, allocations: 0 / 259.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.01684, allocations: 202 kB / 259.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.01701, allocations: 99.36 kB / 259.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.01773, allocations: 372.5 kB / 260.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.01777, allocations: 71.19 kB / 260.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.01781, allocations: 12.48 kB / 260.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.01797, allocations: 99.3 kB / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01797, allocations: 0 / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Templates: time 0.005903/0.02387, allocations: 3.71 MB / 264 MB, free: 10.67 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9649253273382783]