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.0009158/0.0009158, 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.0009317/0.0009317, allocations: 169 kB / 23.02 MB, free: 1.547 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.01603/0.01603, allocations: 3.159 MB / 263.1 MB, free: 10.04 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.254e-06/2.254e-06, allocations: 0 / 333.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.693e-05, allocations: 8.703 kB / 333.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002464/0.002491, allocations: 1.548 MB / 335 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.004387, allocations: 1.188 MB / 336.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.004477, allocations: 3.938 kB / 336.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.004656, allocations: 35.67 kB / 336.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.004742, allocations: 27.78 kB / 336.3 MB, free: 13.21 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.0008398/0.005582, allocations: 255 kB / 336.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.005905, allocations: 275.3 kB / 336.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.005973, allocations: 5.812 kB / 336.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.006294, allocations: 143.7 kB / 336.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.006403, allocations: 63.78 kB / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.00644, allocations: 12 kB / 337 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.006782, allocations: 203.5 kB / 337.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.006827, allocations: 27.86 kB / 337.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.006901, allocations: 55.84 kB / 337.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.007269, allocations: 279.2 kB / 337.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.007272, allocations: 0 / 337.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007273, allocations: 0 / 337.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.007278, allocations: 3.938 kB / 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.001396/0.008674, allocations: 1.635 MB / 339.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.008712, allocations: 12.03 kB / 339.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.009194, allocations: 120.5 kB / 339.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.009463, allocations: 204.9 kB / 339.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.009486, allocations: 8.375 kB / 339.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.009512, allocations: 12.38 kB / 339.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.009849, allocations: 265.5 kB / 339.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.00986, allocations: 192 / 339.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.009878, allocations: 8.375 kB / 339.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.009887, allocations: 3.938 kB / 339.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.01011, allocations: 215.2 kB / 340 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.01029, allocations: 180.2 kB / 340.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.01051, allocations: 245.6 kB / 340.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01066, allocations: 198.8 kB / 340.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.01067, allocations: 0 / 340.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.01091, allocations: 0.5068 MB / 341.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 8.12e-07/0.01091, allocations: 0 / 341.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005219/0.01143, allocations: 0.7103 MB / 341.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.01147, allocations: 148.5 kB / 342 MB, free: 7.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.0116, allocations: 265.8 kB / 342.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.01161, allocations: 25.7 kB / 342.3 MB, free: 6.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.01165, allocations: 159.4 kB / 342.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.01168, allocations: 59.52 kB / 342.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.01174, allocations: 59.34 kB / 342.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.01179, allocations: 0.5001 MB / 343 MB, free: 6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.01188, allocations: 147.6 kB / 343.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.01197, allocations: 155.8 kB / 343.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.01214, allocations: 335.5 kB / 343.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01215, allocations: 8 kB / 343.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002428/0.01239, allocations: 414.6 kB / 344.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.01243, allocations: 87.31 kB / 344.2 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01243, allocations: 3.984 kB / 344.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01244, allocations: 0 / 344.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.01253, allocations: 19.98 kB / 344.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.01254, allocations: 0 / 344.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.01259, allocations: 19.91 kB / 344.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.01262, allocations: 36.53 kB / 344.2 MB, free: 4.703 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.0001071/0.01273, allocations: 274.5 kB / 344.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.01277, allocations: 43.84 kB / 344.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.01279, allocations: 17.45 kB / 344.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.01279, allocations: 0 / 344.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.0128, allocations: 7.938 kB / 344.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.0128, allocations: 0 / 344.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.453e-05/0.01289, allocations: 188.5 kB / 344.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0129, allocations: 0 / 344.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.01291, allocations: 11.98 kB / 344.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.01292, allocations: 0 / 344.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.01293, allocations: 27.91 kB / 344.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01294, allocations: 8 kB / 344.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01294, allocations: 0 / 344.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.01333, allocations: 0.6269 MB / 345.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.0134, allocations: 59.75 kB / 345.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.01344, allocations: 23.98 kB / 345.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.01348, allocations: 11.98 kB / 345.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.01355, allocations: 23.86 kB / 345.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.01358, allocations: 51.86 kB / 345.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.01364, allocations: 184.5 kB / 345.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01364, allocations: 4 kB / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000205/0.01385, allocations: 79.92 kB / 345.9 MB, free: 2.973 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.0003924/0.01424, allocations: 275 kB / 346.1 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.01462, allocations: 0.5752 MB / 346.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01462, allocations: 0 / 346.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.01481, allocations: 393.8 kB / 347.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.015, allocations: 44.09 kB / 347.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.01547, allocations: 0.5352 MB / 347.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.0155, allocations: 83.12 kB / 347.8 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.01553, allocations: 16.42 kB / 347.8 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.01556, allocations: 20.48 kB / 347.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01556, allocations: 0 / 347.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of Templates: time 0.005741/0.0213, allocations: 4.407 MB / 352.2 MB, free: 12.57 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: 2.976844104938209]