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.0009223/0.0009223, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009329/0.0009329, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9003/0.9003, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.01556/0.01556, allocations: 3.159 MB / 264.2 MB, free: 9.898 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.072e-06/1.072e-06, allocations: 0 / 334.7 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.105e-05, allocations: 2.312 kB / 334.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.001712/0.001723, allocations: 1.548 MB / 336.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003029, allocations: 1.164 MB / 337.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.003092, allocations: 7.938 kB / 337.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.003214, allocations: 35.59 kB / 337.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.003274, allocations: 31.73 kB / 337.5 MB, free: 13.99 MB / 314.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.0005463/0.00382, allocations: 243.1 kB / 337.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.004045, allocations: 279.3 kB / 338 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.004079, allocations: 9.797 kB / 338 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.004266, allocations: 139.7 kB / 338.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.004337, allocations: 67.73 kB / 338.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.00436, allocations: 16 kB / 338.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.0046, allocations: 199.6 kB / 338.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.004643, allocations: 31.84 kB / 338.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.004696, allocations: 51.84 kB / 338.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.004981, allocations: 287.1 kB / 338.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004982, allocations: 0 / 338.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004983, allocations: 0 / 338.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.004986, allocations: 0 / 338.8 MB, free: 12.69 MB / 314.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.001207/0.006193, allocations: 1.669 MB / 340.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.00622, allocations: 8.031 kB / 340.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.006564, allocations: 128.5 kB / 340.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.00675, allocations: 201 kB / 340.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.006765, allocations: 4.375 kB / 340.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.00678, allocations: 8.375 kB / 340.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.006979, allocations: 236.8 kB / 341 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.006985, allocations: 4.188 kB / 341 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.006997, allocations: 8.375 kB / 341 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.007002, allocations: 3.938 kB / 341 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.00712, allocations: 167.3 kB / 341.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.007245, allocations: 160.8 kB / 341.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.007377, allocations: 205.6 kB / 341.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.007481, allocations: 174.8 kB / 341.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.007487, allocations: 4 kB / 341.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.007864, allocations: 486 kB / 342.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 9.12e-07/0.007865, allocations: 0 / 342.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004662/0.008331, allocations: 0.6127 MB / 342.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.00838, allocations: 148.5 kB / 342.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.008501, allocations: 265.7 kB / 343.2 MB, free: 7.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.008517, allocations: 29.7 kB / 343.2 MB, free: 7.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.008584, allocations: 163.3 kB / 343.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.008622, allocations: 55.56 kB / 343.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.008686, allocations: 63.31 kB / 343.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.008794, allocations: 0.504 MB / 344 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.008883, allocations: 127.6 kB / 344.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.008962, allocations: 131.8 kB / 344.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.009131, allocations: 283.3 kB / 344.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.009132, allocations: 0 / 344.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002514/0.009384, allocations: 378.6 kB / 344.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.009429, allocations: 90.03 kB / 345 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.009434, allocations: 3.938 kB / 345 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.553e-06/0.009441, allocations: 0 / 345 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.009509, allocations: 19.92 kB / 345 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.009512, allocations: 0 / 345 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.009564, allocations: 19.94 kB / 345 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.009597, allocations: 31.95 kB / 345.1 MB, free: 5.875 MB / 314.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,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,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.0001297/0.009727, allocations: 266.5 kB / 345.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.009774, allocations: 51.8 kB / 345.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.009794, allocations: 21.39 kB / 345.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.009796, allocations: 0 / 345.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.009798, allocations: 7.984 kB / 345.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.009801, allocations: 0 / 345.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.01015, allocations: 165.1 kB / 345.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01015, allocations: 0 / 345.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.01017, allocations: 11.92 kB / 345.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01018, allocations: 0 / 345.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01019, allocations: 12 kB / 345.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.01019, allocations: 0 / 345.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01019, allocations: 7.938 kB / 345.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.01061, allocations: 0.5718 MB / 346.2 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.01067, allocations: 55.69 kB / 346.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.01071, allocations: 19.98 kB / 346.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.898e-05/0.01076, allocations: 19.98 kB / 346.3 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.01081, allocations: 19.98 kB / 346.3 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.01085, allocations: 35.94 kB / 346.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.396e-05/0.01091, allocations: 176.5 kB / 346.5 MB, free: 4.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 0 / 346.5 MB, free: 4.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.01112, allocations: 79.92 kB / 346.6 MB, free: 4.281 MB / 314.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.0003709/0.01149, allocations: 286.3 kB / 346.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.01185, allocations: 0.5129 MB / 347.4 MB, free: 3.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01185, allocations: 3.938 kB / 347.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.01206, allocations: 365.8 kB / 347.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.01224, allocations: 43.98 kB / 347.8 MB, free: 3.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.01269, allocations: 0.4986 MB / 348.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.01273, allocations: 75.23 kB / 348.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.735e-05/0.01276, allocations: 16.48 kB / 348.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.01293, allocations: 154.2 kB / 348.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01293, allocations: 0 / 348.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of Templates: time 0.005987/0.01892, allocations: 4.909 MB / 353.4 MB, free: 13.36 MB / 330.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.5984559510834515]