Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.001704/0.001704, allocations: 105.8 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001956/0.001956, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.617/1.617, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 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.02668/0.02668, allocations: 3.927 MB / 312.8 MB, free: 0.4922 MB / 238.1 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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 68.09 kB / 435 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1506, allocations: 54.1 MB / 489.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.003018/0.1536, allocations: 1.489 MB / 490.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1558, allocations: 1.102 MB / 491.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.1559, allocations: 0 / 491.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.1561, allocations: 15.81 kB / 491.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1563, allocations: 23.84 kB / 491.8 MB, free: 5.289 MB / 350.1 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.157, allocations: 191.3 kB / 491.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1572, allocations: 123.7 kB / 492.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1573, allocations: 8 kB / 492.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1575, allocations: 47.83 kB / 492.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.1575, allocations: 47.77 kB / 492.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1576, allocations: 4 kB / 492.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.1579, allocations: 175.8 kB / 492.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.1579, allocations: 27.91 kB / 492.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.158, allocations: 39.73 kB / 492.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.1584, allocations: 203.3 kB / 492.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1584, allocations: 0 / 492.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1584, allocations: 3.938 kB / 492.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.1584, allocations: 0 / 492.6 MB, free: 4.434 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007193/0.1591, allocations: 426.6 kB / 493 MB, free: 3.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1591, allocations: 15.98 kB / 493 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004483/0.1596, allocations: 48.83 kB / 493.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1599, allocations: 216.7 kB / 493.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1599, allocations: 4.375 kB / 493.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1599, allocations: 12.06 kB / 493.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1602, allocations: 81.58 kB / 493.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1602, allocations: 0 / 493.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1602, allocations: 8 kB / 493.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1602, allocations: 3.938 kB / 493.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1604, allocations: 59.95 kB / 493.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.161, allocations: 356.6 kB / 493.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1612, allocations: 78.52 kB / 493.9 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.1613, allocations: 32.84 kB / 493.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1613, allocations: 8 kB / 493.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1613, allocations: 30.72 kB / 494 MB, free: 2.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1613, allocations: 3.938 kB / 494 MB, free: 2.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004554/0.1618, allocations: 157.6 kB / 494.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1619, allocations: 51.41 kB / 494.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.162, allocations: 152.6 kB / 494.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.162, allocations: 33.7 kB / 494.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.1621, allocations: 100 kB / 494.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1621, allocations: 19.84 kB / 494.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.1622, allocations: 33.7 kB / 494.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1624, allocations: 322.8 kB / 494.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.1625, allocations: 27.98 kB / 494.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.1626, allocations: 43.91 kB / 494.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1627, allocations: 92.7 kB / 495 MB, free: 1.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1627, allocations: 0 / 495 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002627/0.163, allocations: 133.5 kB / 495.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.163, allocations: 4 kB / 495.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.163, allocations: 0 / 495.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.163, allocations: 0 / 495.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1632, allocations: 23.97 kB / 495.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1632, allocations: 0 / 495.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.1632, allocations: 15.88 kB / 495.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.1633, allocations: 31.89 kB / 495.2 MB, free: 1.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001231/0.1634, allocations: 122.3 kB / 495.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.1634, allocations: 7.953 kB / 495.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.1635, allocations: 20.64 kB / 495.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1635, allocations: 4 kB / 495.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1635, allocations: 0 / 495.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1635, allocations: 3.938 kB / 495.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.1638, allocations: 205.5 kB / 495.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1638, allocations: 8 kB / 495.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.1639, allocations: 11.98 kB / 495.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1639, allocations: 4 kB / 495.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1639, allocations: 4 kB / 495.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1639, allocations: 0 / 495.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1639, allocations: 0 / 495.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.1642, allocations: 219.3 kB / 495.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.1643, allocations: 105 kB / 495.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1643, allocations: 4 kB / 495.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1644, allocations: 0 / 495.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.1644, allocations: 11.92 kB / 495.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.1645, allocations: 27.95 kB / 495.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.1646, allocations: 110.5 kB / 496 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1646, allocations: 0 / 496 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1649, allocations: 51.86 kB / 496.1 MB, free: 0.6328 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.009242/0.1741, allocations: 250.5 kB / 496.3 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.1746, allocations: 83.89 kB / 496.4 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1746, allocations: 0 / 496.4 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1747, allocations: 39.97 kB / 496.5 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.175, allocations: 8.156 kB / 496.5 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.1756, allocations: 213.8 kB / 496.7 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.176, allocations: 0.7041 MB / 497.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.007e-05/0.1761, allocations: 28.56 kB / 497.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.1762, allocations: 23.42 kB / 497.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1762, allocations: 0 / 497.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.006245/0.1824, allocations: 2.219 MB / 499.6 MB, free: 13.06 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.204306792467833] Failed to read output from testmodel.py, exit status != 0: 0.1905907355248928 0.21388568700000002 0.052426803 Calling exit ...