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.001008/0.001008, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001184/0.001184, allocations: 177 kB / 23.36 MB, free: 1.129 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.01526/0.01526, allocations: 3.163 MB / 263.4 MB, free: 9.934 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.423e-06/1.423e-06, allocations: 3.938 kB / 280.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.597e-05, allocations: 2.312 kB / 280.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.00177/0.001786, allocations: 1.565 MB / 282.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.003241, allocations: 1.145 MB / 283.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.003299, allocations: 0 / 283.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.003412, allocations: 23.8 kB / 283.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.003494, allocations: 15.86 kB / 283.4 MB, free: 5.934 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.0006214/0.004115, allocations: 270.9 kB / 283.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.004287, allocations: 167.6 kB / 283.8 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.004345, allocations: 9.953 kB / 283.8 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.004445, allocations: 83.8 kB / 283.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.004513, allocations: 43.88 kB / 284 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.004532, allocations: 8 kB / 284 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.004855, allocations: 287.3 kB / 284.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.004898, allocations: 19.94 kB / 284.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.004944, allocations: 35.89 kB / 284.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.005243, allocations: 307.1 kB / 284.6 MB, free: 4.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005245, allocations: 0 / 284.6 MB, free: 4.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005246, allocations: 0 / 284.6 MB, free: 4.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.005249, allocations: 4 kB / 284.6 MB, free: 4.723 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.0009373/0.006186, allocations: 0.9159 MB / 285.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.006212, allocations: 8.031 kB / 285.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.006422, allocations: 52.81 kB / 285.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.006572, allocations: 167 kB / 285.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.00659, allocations: 8.375 kB / 285.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.00661, allocations: 8.375 kB / 285.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.006778, allocations: 143.8 kB / 285.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.006784, allocations: 192 / 285.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.006794, allocations: 4.375 kB / 285.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.0068, allocations: 3.938 kB / 285.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.006876, allocations: 89.67 kB / 286 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.007131, allocations: 215 kB / 286.2 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.007253, allocations: 156.1 kB / 286.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.007311, allocations: 86.55 kB / 286.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.007323, allocations: 0 / 286.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.007484, allocations: 264.9 kB / 286.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.71e-07/0.007485, allocations: 0 / 286.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003044/0.007789, allocations: 314.6 kB / 287 MB, free: 2.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.007831, allocations: 97.03 kB / 287.1 MB, free: 2.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.007919, allocations: 155.3 kB / 287.3 MB, free: 1.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.007934, allocations: 37.7 kB / 287.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.00797, allocations: 96.39 kB / 287.4 MB, free: 1.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.007995, allocations: 31.69 kB / 287.4 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.008047, allocations: 49.66 kB / 287.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.008115, allocations: 326.8 kB / 287.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.008172, allocations: 72.52 kB / 287.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.008223, allocations: 69.67 kB / 287.9 MB, free: 1.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.008345, allocations: 165.2 kB / 288.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.008349, allocations: 3.938 kB / 288.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004253/0.008774, allocations: 213 kB / 288.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.008803, allocations: 45.67 kB / 288.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.008807, allocations: 4 kB / 288.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.008817, allocations: 0 / 288.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.0089, allocations: 23.98 kB / 288.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.008905, allocations: 3.938 kB / 288.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.008946, allocations: 11.95 kB / 288.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.008974, allocations: 23.95 kB / 288.4 MB, free: 0.6211 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.0001044/0.009079, allocations: 174.3 kB / 288.6 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.009113, allocations: 23.92 kB / 288.6 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.009139, allocations: 17.45 kB / 288.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009142, allocations: 4 kB / 288.6 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.009143, allocations: 0 / 288.6 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.009147, allocations: 3.938 kB / 288.6 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.4e-05/0.009231, allocations: 93.86 kB / 288.7 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009232, allocations: 0 / 288.7 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.009277, allocations: 11.98 kB / 288.7 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009279, allocations: 4 kB / 288.7 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.009292, allocations: 4 kB / 288.7 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009293, allocations: 0 / 288.7 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.009295, allocations: 4 kB / 288.7 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1224/0.1316, allocations: 413.3 kB / 289.1 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1317, allocations: 13.2 kB / 289.2 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.1317, allocations: 12.28 kB / 289.2 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.1318, allocations: 11.03 kB / 289.2 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.1319, allocations: 11.64 kB / 289.2 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.132, allocations: 21.86 kB / 289.2 MB, free: 22.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.132, allocations: 40.3 kB / 289.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.132, allocations: 0 / 289.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.1324, allocations: 89.95 kB / 289.3 MB, free: 22.8 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.0007094/0.1331, allocations: 294.2 kB / 289.6 MB, free: 22.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.1335, allocations: 287.8 kB / 289.9 MB, free: 22.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.1335, allocations: 1 kB / 289.9 MB, free: 22.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1337, allocations: 191.5 kB / 290.1 MB, free: 22.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.1339, allocations: 23.45 kB / 290.1 MB, free: 22.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.1345, allocations: 358.1 kB / 290.5 MB, free: 22.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.1345, allocations: 67.48 kB / 290.5 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.1346, allocations: 13.64 kB / 290.5 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1347, allocations: 96.91 kB / 290.6 MB, free: 22.19 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1347, allocations: 0.5625 kB / 290.6 MB, free: 22.19 MB / 266.7 MB Notification: Performance of Templates: time 0.008064/0.1428, allocations: 3.711 MB / 294.4 MB, free: 21.86 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: 3.0616040779277682]