Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.0008739/0.0008739, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001351/0.001351, allocations: 173 kB / 23.03 MB, free: 1.543 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.061/1.061, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.03023/0.03023, allocations: 3.15 MB / 263.1 MB, free: 10.05 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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 333.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.465e-05, allocations: 4.562 kB / 333.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.00195/0.001984, allocations: 1.554 MB / 335 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003279, allocations: 1.18 MB / 336.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.003353, allocations: 7.938 kB / 336.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.003503, allocations: 35.67 kB / 336.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.916e-05/0.003562, allocations: 23.73 kB / 336.3 MB, free: 13.22 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.0006123/0.004174, allocations: 255 kB / 336.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.004393, allocations: 275.4 kB / 336.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.004437, allocations: 9.797 kB / 336.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.004656, allocations: 139.6 kB / 336.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.004729, allocations: 59.86 kB / 337 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.004756, allocations: 15.98 kB / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.004994, allocations: 203.5 kB / 337.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.005033, allocations: 27.84 kB / 337.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.005088, allocations: 51.86 kB / 337.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.005378, allocations: 295.1 kB / 337.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005381, allocations: 0 / 337.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.005382, allocations: 0 / 337.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.005387, allocations: 0 / 337.6 MB, free: 11.91 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001013/0.0064, allocations: 1.635 MB / 339.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.006435, allocations: 12.03 kB / 339.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.006814, allocations: 112.6 kB / 339.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.006996, allocations: 220.8 kB / 339.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.007012, allocations: 4.375 kB / 339.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.007028, allocations: 12.38 kB / 339.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.00726, allocations: 261.5 kB / 339.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.007271, allocations: 192 / 339.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.007287, allocations: 4.375 kB / 339.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.007294, allocations: 3.938 kB / 339.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.00744, allocations: 215.2 kB / 340 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.007574, allocations: 180.2 kB / 340.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.007748, allocations: 245.7 kB / 340.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.007921, allocations: 202.8 kB / 340.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.00793, allocations: 0 / 340.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.008271, allocations: 0.5096 MB / 341.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.008272, allocations: 0 / 341.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007249/0.008997, allocations: 0.7071 MB / 341.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.009041, allocations: 152.4 kB / 342 MB, free: 7.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.009197, allocations: 261.8 kB / 342.3 MB, free: 6.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.009215, allocations: 29.7 kB / 342.3 MB, free: 6.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.009261, allocations: 159.4 kB / 342.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.009301, allocations: 47.55 kB / 342.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.009375, allocations: 71.39 kB / 342.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.009436, allocations: 0.504 MB / 343.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.009572, allocations: 147.6 kB / 343.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.00969, allocations: 151.8 kB / 343.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.009928, allocations: 331.6 kB / 343.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00993, allocations: 0 / 343.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003643/0.01029, allocations: 418.6 kB / 344.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.01035, allocations: 94.12 kB / 344.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01035, allocations: 0 / 344.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.01036, allocations: 0 / 344.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01047, allocations: 19.92 kB / 344.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01048, allocations: 4 kB / 344.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.01055, allocations: 23.89 kB / 344.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.01059, allocations: 39.89 kB / 344.3 MB, free: 4.699 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: 26 (globalSeed.seed,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001247/0.01072, allocations: 266.5 kB / 344.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.01077, allocations: 47.84 kB / 344.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.0108, allocations: 13.47 kB / 344.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.0108, allocations: 3.984 kB / 344.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01081, allocations: 4 kB / 344.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01081, allocations: 4 kB / 344.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.01094, allocations: 188.5 kB / 344.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01094, allocations: 0 / 344.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.01098, allocations: 11.98 kB / 344.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01098, allocations: 3.938 kB / 344.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.011, allocations: 15.92 kB / 344.8 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01101, allocations: 8 kB / 344.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01101, allocations: 0 / 344.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.01157, allocations: 0.6421 MB / 345.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.01166, allocations: 51.75 kB / 345.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.01171, allocations: 23.98 kB / 345.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.01178, allocations: 16 kB / 345.6 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.01185, allocations: 19.97 kB / 345.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.01189, allocations: 39.94 kB / 345.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.01197, allocations: 188.4 kB / 345.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01197, allocations: 0 / 345.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.01227, allocations: 83.86 kB / 345.9 MB, free: 2.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0004919/0.01277, allocations: 279.5 kB / 346.1 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.01327, allocations: 0.5636 MB / 346.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01327, allocations: 0 / 346.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.01353, allocations: 401.7 kB / 347.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01379, allocations: 39.97 kB / 347.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.01438, allocations: 0.5352 MB / 347.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.524e-05/0.01442, allocations: 79.19 kB / 347.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.01447, allocations: 16.61 kB / 347.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.0145, allocations: 16.5 kB / 347.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.0145, allocations: 0 / 347.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of Templates: time 0.008382/0.02288, allocations: 4.797 MB / 352.6 MB, free: 12.2 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0603687060065567]