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.001398/0.001398, allocations: 80.44 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001491/0.001491, allocations: 166 kB / 22.46 MB, free: 5.355 MB / 14.72 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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 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.0274/0.0274, allocations: 3.157 MB / 262.3 MB, free: 13.71 MB / 254.1 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.353e-06/1.353e-06, allocations: 0 / 386.2 MB, free: 308 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.571e-05, allocations: 2.281 kB / 386.2 MB, free: 304 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002945/0.00297, allocations: 1.526 MB / 387.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.005225, allocations: 1.117 MB / 388.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.00531, allocations: 7.938 kB / 388.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.005449, allocations: 23.73 kB / 388.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.005555, allocations: 11.88 kB / 388.9 MB, free: 13.59 MB / 318.1 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.0009368/0.006492, allocations: 259.1 kB / 389.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.006779, allocations: 171.5 kB / 389.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.006865, allocations: 13.3 kB / 389.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.007037, allocations: 79.8 kB / 389.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.007144, allocations: 47.88 kB / 389.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.007176, allocations: 8 kB / 389.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.007687, allocations: 279.4 kB / 389.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.007737, allocations: 23.91 kB / 389.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.007805, allocations: 31.92 kB / 389.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.008367, allocations: 335.1 kB / 390.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.008372, allocations: 3.984 kB / 390.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008373, allocations: 3.938 kB / 390.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.008383, allocations: 0 / 390.1 MB, free: 12.36 MB / 318.1 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.001842/0.01023, allocations: 1.243 MB / 391.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.01026, allocations: 8.031 kB / 391.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.01063, allocations: 52.78 kB / 391.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.01093, allocations: 166.3 kB / 391.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.01096, allocations: 4.375 kB / 391.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.01099, allocations: 4.375 kB / 391.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.01144, allocations: 203.8 kB / 391.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.01145, allocations: 192 / 391.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.01147, allocations: 8.312 kB / 391.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.01148, allocations: 7.938 kB / 391.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.01192, allocations: 185.6 kB / 392 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.01248, allocations: 284.4 kB / 392.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.01295, allocations: 192.1 kB / 392.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.01328, allocations: 166.5 kB / 392.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.01331, allocations: 4 kB / 392.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005248/0.01383, allocations: 345.2 kB / 393 MB, free: 9.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.01384, allocations: 0 / 393 MB, free: 9.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001198/0.01503, allocations: 0.5377 MB / 393.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.0151, allocations: 93.09 kB / 393.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01528, allocations: 163.3 kB / 393.8 MB, free: 8.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.01531, allocations: 33.69 kB / 393.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.01539, allocations: 100.4 kB / 393.9 MB, free: 8.359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.01544, allocations: 35.72 kB / 393.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.01552, allocations: 45.66 kB / 394 MB, free: 8.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01569, allocations: 330.8 kB / 394.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.01599, allocations: 137.6 kB / 394.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.01627, allocations: 137.6 kB / 394.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.01682, allocations: 284.1 kB / 394.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01682, allocations: 0 / 394.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007174/0.01754, allocations: 344.1 kB / 395.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.0176, allocations: 45.62 kB / 395.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.0176, allocations: 0 / 395.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01762, allocations: 3.984 kB / 395.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01778, allocations: 35.92 kB / 395.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01779, allocations: 3.984 kB / 395.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01791, allocations: 19.88 kB / 395.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.01796, allocations: 19.97 kB / 395.3 MB, free: 6.883 MB / 318.1 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.0001981/0.01816, allocations: 183.4 kB / 395.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.01823, allocations: 23.84 kB / 395.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.01826, allocations: 9.469 kB / 395.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.01827, allocations: 4 kB / 395.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01827, allocations: 4 kB / 395.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.01828, allocations: 3.984 kB / 395.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01845, allocations: 149.2 kB / 395.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01846, allocations: 0 / 395.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01857, allocations: 12.05 kB / 395.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.01857, allocations: 4 kB / 395.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.0186, allocations: 23.86 kB / 395.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01861, allocations: 3.984 kB / 395.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01861, allocations: 0 / 395.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.01992, allocations: 0.662 MB / 396.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.01995, allocations: 11.94 kB / 396.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.02, allocations: 19.92 kB / 396.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02012, allocations: 11.98 kB / 396.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.02019, allocations: 19.92 kB / 396.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.02024, allocations: 19.97 kB / 396.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.02036, allocations: 124.9 kB / 396.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02036, allocations: 64 / 396.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.02076, allocations: 95.8 kB / 396.7 MB, free: 5.434 MB / 318.1 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.0007354/0.02149, allocations: 265.5 kB / 396.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008513/0.02234, allocations: 422.6 kB / 397.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02235, allocations: 0 / 397.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.0228, allocations: 260.9 kB / 397.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.02302, allocations: 24.19 kB / 397.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.02396, allocations: 423.6 kB / 398 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.02406, allocations: 89.31 kB / 398.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.02411, allocations: 12.48 kB / 398.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.02415, allocations: 12.5 kB / 398.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.02415, allocations: 8 kB / 398.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of Templates: time 0.008184/0.03233, allocations: 3.392 MB / 401.6 MB, free: 0.5234 MB / 318.1 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.401523806154728] Failed to read output from testmodel.py, exit status != 0: 0.041277844458818436 0.056399526000000005 0.044862215000000004 Calling exit ...