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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02511/0.02511, allocations: 3.933 MB / 307.3 MB, free: 3.211 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001871/0.001871, allocations: 59.89 kB / 427.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2509, allocations: 52.91 MB / 480.1 MB, free: 26.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002165/0.2531, allocations: 1.531 MB / 481.7 MB, free: 25.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2545, allocations: 1.114 MB / 482.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.2546, allocations: 3.938 kB / 482.8 MB, free: 24.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.2547, allocations: 22.52 kB / 482.8 MB, free: 24.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.2547, allocations: 7.875 kB / 482.8 MB, free: 24.59 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006331/0.2553, allocations: 252.3 kB / 483.1 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.2555, allocations: 151 kB / 483.2 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.2556, allocations: 20.14 kB / 483.2 MB, free: 24.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.2557, allocations: 61.86 kB / 483.3 MB, free: 24.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.2557, allocations: 58.19 kB / 483.3 MB, free: 24.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.2558, allocations: 9.219 kB / 483.4 MB, free: 24.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.256, allocations: 255 kB / 483.6 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.2561, allocations: 25.66 kB / 483.6 MB, free: 24.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.2561, allocations: 51.02 kB / 483.7 MB, free: 24.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2564, allocations: 281.1 kB / 484 MB, free: 24.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2565, allocations: 0 / 484 MB, free: 24.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2565, allocations: 2.812 kB / 484 MB, free: 24.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.2565, allocations: 0 / 484 MB, free: 24.13 MB / 366.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.001136/0.2576, allocations: 1.343 MB / 485.3 MB, free: 23.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2576, allocations: 12.16 kB / 485.3 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.2579, allocations: 46.39 kB / 485.4 MB, free: 23.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.2581, allocations: 216.5 kB / 485.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2581, allocations: 10.34 kB / 485.6 MB, free: 23.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.2582, allocations: 7.031 kB / 485.6 MB, free: 23.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2585, allocations: 166.3 kB / 485.7 MB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2585, allocations: 3 kB / 485.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2585, allocations: 0 / 485.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2585, allocations: 3.062 kB / 485.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.2588, allocations: 145.8 kB / 485.9 MB, free: 23.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.2592, allocations: 366.8 kB / 486.3 MB, free: 22.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.2595, allocations: 145.6 kB / 486.4 MB, free: 22.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.2597, allocations: 121.2 kB / 486.5 MB, free: 22.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2597, allocations: 0 / 486.5 MB, free: 22.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.26, allocations: 289.6 kB / 486.8 MB, free: 22.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.26, allocations: 3.938 kB / 486.8 MB, free: 22.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007874/0.2608, allocations: 480.1 kB / 487.3 MB, free: 22.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.2608, allocations: 85.98 kB / 487.4 MB, free: 22.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2609, allocations: 159.4 kB / 487.5 MB, free: 22.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.261, allocations: 29.7 kB / 487.5 MB, free: 22.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.261, allocations: 101.7 kB / 487.6 MB, free: 21.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.261, allocations: 45.22 kB / 487.7 MB, free: 21.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.2611, allocations: 40.64 kB / 487.7 MB, free: 21.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.2611, allocations: 328.6 kB / 488 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2613, allocations: 93.95 kB / 488.1 MB, free: 21.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.2615, allocations: 88.58 kB / 488.2 MB, free: 21.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.2618, allocations: 280.1 kB / 488.5 MB, free: 21.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2618, allocations: 3.125 kB / 488.5 MB, free: 21.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004463/0.2623, allocations: 291 kB / 488.8 MB, free: 21.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.2623, allocations: 52.36 kB / 488.8 MB, free: 21.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2623, allocations: 3.938 kB / 488.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2623, allocations: 1.891 kB / 488.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2625, allocations: 20.28 kB / 488.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2625, allocations: 5.719 kB / 488.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.2626, allocations: 19.19 kB / 488.9 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.2626, allocations: 27.97 kB / 488.9 MB, free: 21.18 MB / 366.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 (11): * Single equations (assignments): 10 * 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.0001366/0.2627, allocations: 190.4 kB / 489.1 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.2628, allocations: 18.16 kB / 489.1 MB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.2628, allocations: 12.48 kB / 489.1 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2628, allocations: 3.125 kB / 489.1 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2628, allocations: 4 kB / 489.1 MB, free: 20.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2628, allocations: 0.7031 kB / 489.1 MB, free: 20.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.263, allocations: 224.2 kB / 489.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.263, allocations: 0 / 489.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/0.2631, allocations: 13.78 kB / 489.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2631, allocations: 0 / 489.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.2631, allocations: 12.28 kB / 489.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2631, allocations: 3.938 kB / 489.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2631, allocations: 0.6094 kB / 489.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008721/0.264, allocations: 0.5853 MB / 490 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.264, allocations: 97.36 kB / 490.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.264, allocations: 11.94 kB / 490.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.2641, allocations: 12.67 kB / 490.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.2642, allocations: 14.34 kB / 490.1 MB, free: 20.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.2642, allocations: 21.05 kB / 490.1 MB, free: 20.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.215e-05/0.2643, allocations: 121.7 kB / 490.2 MB, free: 20.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2643, allocations: 0 / 490.2 MB, free: 20.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.2646, allocations: 85.05 kB / 490.3 MB, free: 20.32 MB / 366.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.0005271/0.2651, allocations: 254.1 kB / 490.6 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.2657, allocations: 346.7 kB / 490.9 MB, free: 20.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2657, allocations: 0 / 490.9 MB, free: 20.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.266, allocations: 224.6 kB / 491.1 MB, free: 19.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.2662, allocations: 20.12 kB / 491.2 MB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.2669, allocations: 397.5 kB / 491.5 MB, free: 19.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.267, allocations: 0.7117 MB / 492.3 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.267, allocations: 14.38 kB / 492.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.267, allocations: 0 / 492.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of Templates: time 0.005691/0.2727, allocations: 3.135 MB / 495.4 MB, free: 18.62 MB / 366.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: 7.937031243927777] Failed to read output from testmodel.py, exit status != 0: 0.2798933940939605 0.289400387 0.03072231599999994 Calling exit ...