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.0007383/0.0007383, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001752, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007061/0.0007061, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009426/0.001649, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08952/1.149, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.01928/0.01928, allocations: 3.158 MB / 247.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002269/0.02155, allocations: 1.196 MB / 248.3 MB, free: 10.7 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.282e-06/1.282e-06, allocations: 0 / 249.6 MB, free: 9.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.787e-06/1.007e-05, allocations: 6.312 kB / 249.6 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.001675/0.001685, allocations: 1.609 MB / 251.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.003083, allocations: 1.149 MB / 252.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.003154, allocations: 3.938 kB / 252.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.942e-05/0.003223, allocations: 15.8 kB / 252.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.00328, allocations: 27.78 kB / 252.4 MB, free: 6.613 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.0005803/0.003861, allocations: 243 kB / 252.6 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.004505, allocations: 163.6 kB / 252.8 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.004569, allocations: 9.969 kB / 252.8 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.004709, allocations: 107.7 kB / 252.9 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.004785, allocations: 47.88 kB / 252.9 MB, free: 6.055 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004805, allocations: 12 kB / 252.9 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.00518, allocations: 275.5 kB / 253.2 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.00522, allocations: 19.88 kB / 253.2 MB, free: 5.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.005263, allocations: 27.92 kB / 253.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.005558, allocations: 267.1 kB / 253.5 MB, free: 5.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.005573, allocations: 0 / 253.5 MB, free: 5.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005573, allocations: 4 kB / 253.5 MB, free: 5.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.005584, allocations: 0 / 253.5 MB, free: 5.461 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.0008852/0.006469, allocations: 0.9391 MB / 254.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.006501, allocations: 12.03 kB / 254.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.006797, allocations: 125.9 kB / 254.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.006985, allocations: 182.8 kB / 254.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.007006, allocations: 4.375 kB / 254.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.007026, allocations: 8.375 kB / 254.8 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.007215, allocations: 139.9 kB / 254.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.007222, allocations: 192 / 254.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.007234, allocations: 8.375 kB / 254.9 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.00724, allocations: 7.938 kB / 254.9 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.007333, allocations: 101.4 kB / 255 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.007614, allocations: 195.1 kB / 255.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.007739, allocations: 164.1 kB / 255.4 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.007805, allocations: 94.59 kB / 255.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.007817, allocations: 3.984 kB / 255.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.007986, allocations: 264.9 kB / 255.7 MB, free: 3.062 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.007987, allocations: 8 kB / 255.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004141/0.008401, allocations: 346.6 kB / 256.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.008458, allocations: 89.2 kB / 256.2 MB, free: 2.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.008618, allocations: 163.2 kB / 256.3 MB, free: 2.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.008642, allocations: 25.7 kB / 256.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.008699, allocations: 96.39 kB / 256.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.008753, allocations: 39.72 kB / 256.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.008832, allocations: 37.69 kB / 256.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.008969, allocations: 326.8 kB / 256.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.009088, allocations: 80.5 kB / 256.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.009174, allocations: 77.69 kB / 257 MB, free: 1.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.009384, allocations: 181.8 kB / 257.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.009389, allocations: 3.938 kB / 257.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002902/0.00968, allocations: 220 kB / 257.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.009732, allocations: 41.69 kB / 257.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009737, allocations: 0 / 257.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.009749, allocations: 4 kB / 257.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.009879, allocations: 27.97 kB / 257.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.009885, allocations: 3.938 kB / 257.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.00995, allocations: 23.89 kB / 257.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.009993, allocations: 19.97 kB / 257.5 MB, free: 1.148 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.0001408/0.01013, allocations: 174.2 kB / 257.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.01019, allocations: 19.98 kB / 257.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.01023, allocations: 13.47 kB / 257.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01023, allocations: 0 / 257.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01023, allocations: 0 / 257.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.01024, allocations: 7.922 kB / 257.7 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.01036, allocations: 105.7 kB / 257.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01036, allocations: 4 kB / 257.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.01044, allocations: 11.98 kB / 257.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.01046, allocations: 11.91 kB / 257.9 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01046, allocations: 4 kB / 257.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.01048, allocations: 8 kB / 257.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01048, allocations: 0 / 257.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.01048, allocations: 0 / 257.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.011, allocations: 431.5 kB / 258.3 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.01104, allocations: 16.11 kB / 258.3 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.0111, allocations: 12 kB / 258.3 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.01116, allocations: 23.98 kB / 258.3 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.0112, allocations: 19.97 kB / 258.4 MB, free: 236 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.01125, allocations: 42.45 kB / 258.4 MB, free: 192 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01125, allocations: 0 / 258.4 MB, free: 192 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.01159, allocations: 87.86 kB / 258.5 MB, free: 104 kB / 250.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.0006982/0.01229, allocations: 310.7 kB / 258.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.01267, allocations: 295.5 kB / 259.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.01267, allocations: 4 kB / 259.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.01285, allocations: 197.9 kB / 259.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.01302, allocations: 47.23 kB / 259.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.01379, allocations: 368.6 kB / 259.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.01384, allocations: 71.2 kB / 259.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.01388, allocations: 8.484 kB / 259.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.01404, allocations: 99.36 kB / 259.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01404, allocations: 0 / 259.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Templates: time 0.007102/0.02114, allocations: 3.73 MB / 263.6 MB, free: 11 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.7837936310097575]