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.002385/0.002385, allocations: 85.48 kB / 19.44 MB, free: 336 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.002046/0.002046, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.635/1.635, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.06184/0.06184, allocations: 3.162 MB / 262.7 MB, free: 10.08 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 1.763e-06/1.763e-06, allocations: 0 / 332.7 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.32e-05, allocations: 4.562 kB / 332.7 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.001981/0.002004, allocations: 1.529 MB / 334.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.003588, allocations: 1.168 MB / 335.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.00365, allocations: 3.938 kB / 335.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.003791, allocations: 31.67 kB / 335.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.003853, allocations: 27.78 kB / 335.5 MB, free: 13.58 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.000607/0.00446, allocations: 251 kB / 335.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.004689, allocations: 279.4 kB / 336 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.004723, allocations: 9.797 kB / 336 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.004936, allocations: 139.6 kB / 336.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.00501, allocations: 59.86 kB / 336.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.005041, allocations: 12 kB / 336.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.005307, allocations: 207.5 kB / 336.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.005342, allocations: 27.86 kB / 336.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.0054, allocations: 51.84 kB / 336.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.005716, allocations: 323 kB / 336.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.005719, allocations: 4 kB / 336.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00572, allocations: 0 / 336.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.005725, allocations: 0 / 336.8 MB, free: 12.24 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.001209/0.006934, allocations: 1.588 MB / 338.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.006961, allocations: 8.031 kB / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.007515, allocations: 120.5 kB / 338.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.007752, allocations: 196.2 kB / 338.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.007774, allocations: 12.38 kB / 338.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.007796, allocations: 8.375 kB / 338.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.008111, allocations: 279.1 kB / 339 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.00812, allocations: 192 / 339 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.008137, allocations: 8.375 kB / 339 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.008141, allocations: 3.938 kB / 339 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.008429, allocations: 231.2 kB / 339.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.008608, allocations: 200.1 kB / 339.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.008871, allocations: 289.7 kB / 339.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.009079, allocations: 246.7 kB / 340 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.009093, allocations: 0 / 340 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.009448, allocations: 0.5291 MB / 340.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.132e-06/0.00945, allocations: 0 / 340.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008741/0.01032, allocations: 0.743 MB / 341.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.01037, allocations: 152.4 kB / 341.4 MB, free: 7.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.01054, allocations: 289.8 kB / 341.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.01055, allocations: 33.7 kB / 341.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.0106, allocations: 163.4 kB / 341.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.01064, allocations: 55.58 kB / 341.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.01072, allocations: 71.34 kB / 342 MB, free: 6.672 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.01079, allocations: 0.5118 MB / 342.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.01097, allocations: 159.6 kB / 342.7 MB, free: 5.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.01114, allocations: 167.8 kB / 342.8 MB, free: 5.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.01147, allocations: 359.6 kB / 343.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01148, allocations: 0 / 343.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004486/0.01193, allocations: 446.6 kB / 343.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.01197, allocations: 91.31 kB / 343.7 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01198, allocations: 0 / 343.7 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01199, allocations: 0 / 343.7 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.0121, allocations: 23.92 kB / 343.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.0121, allocations: 0 / 343.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.01219, allocations: 23.83 kB / 343.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.01223, allocations: 36.61 kB / 343.8 MB, free: 4.773 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.0001441/0.01238, allocations: 282.5 kB / 344.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.01245, allocations: 47.84 kB / 344.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.01247, allocations: 21.45 kB / 344.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01248, allocations: 0 / 344.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01248, allocations: 0 / 344.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01248, allocations: 0 / 344.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01263, allocations: 204.4 kB / 344.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01263, allocations: 0 / 344.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.01268, allocations: 7.984 kB / 344.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01268, allocations: 4 kB / 344.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.01271, allocations: 15.94 kB / 344.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01271, allocations: 0 / 344.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01271, allocations: 11.92 kB / 344.4 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.01338, allocations: 0.6694 MB / 345 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.01349, allocations: 51.81 kB / 345.1 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.01354, allocations: 27.98 kB / 345.1 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.01364, allocations: 8 kB / 345.1 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.01371, allocations: 23.97 kB / 345.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.01376, allocations: 43.94 kB / 345.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.01385, allocations: 200.5 kB / 345.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01385, allocations: 0 / 345.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.01415, allocations: 87.8 kB / 345.5 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.0007478/0.0149, allocations: 270 kB / 345.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.01552, allocations: 0.63 MB / 346.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01552, allocations: 0 / 346.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.01589, allocations: 477.7 kB / 346.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01615, allocations: 47.91 kB / 346.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.0168, allocations: 0.5584 MB / 347.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.595e-05/0.01686, allocations: 110.9 kB / 347.5 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.01691, allocations: 12.48 kB / 347.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.01695, allocations: 16.5 kB / 347.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01695, allocations: 4 kB / 347.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of Templates: time 0.009082/0.02603, allocations: 4.384 MB / 352 MB, free: 12.42 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: 4.699191207997501]