Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02708/0.02708, allocations: 3.944 MB / 306.6 MB, free: 6.051 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.89 kB / 426.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09779, allocations: 52.92 MB / 479.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.005072/0.1029, allocations: 2.033 MB / 481.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004812/0.1077, allocations: 1.678 MB / 483.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.1079, allocations: 7.938 kB / 483.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.1082, allocations: 47.47 kB / 483.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.1092, allocations: 251 kB / 483.5 MB, free: 11.88 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.1107, allocations: 383 kB / 483.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.1117, allocations: 0.6083 MB / 484.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.112, allocations: 71.34 kB / 484.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.1124, allocations: 231.3 kB / 484.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.1129, allocations: 279 kB / 485 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.113, allocations: 64 kB / 485.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.1143, allocations: 435.4 kB / 485.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1145, allocations: 139.6 kB / 485.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.1148, allocations: 211 kB / 485.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1163, allocations: 0.7593 MB / 486.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1163, allocations: 0 / 486.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1163, allocations: 0 / 486.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1163, allocations: 0 / 486.6 MB, free: 8.727 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001956/0.1182, allocations: 0.7304 MB / 487.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/0.1183, allocations: 8.031 kB / 487.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.1203, allocations: 167.7 kB / 487.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1214, allocations: 371.3 kB / 487.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.1215, allocations: 40.97 kB / 487.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.1217, allocations: 44.31 kB / 488 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.1235, allocations: 474.3 kB / 488.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1235, allocations: 192 / 488.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.1236, allocations: 11.94 kB / 488.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1236, allocations: 8 kB / 488.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.126, allocations: 0.5217 MB / 489 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.1295, allocations: 1.206 MB / 490.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.1318, allocations: 487.7 kB / 490.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.1329, allocations: 265.5 kB / 490.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.133, allocations: 16.3 kB / 490.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.1331, allocations: 38.94 kB / 491 MB, free: 4.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 4.439e-06/0.1331, allocations: 0 / 491 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.003854/0.1369, allocations: 0.8298 MB / 491.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.137, allocations: 59.41 kB / 491.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.1375, allocations: 225 kB / 492.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.1376, allocations: 41.69 kB / 492.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1378, allocations: 165 kB / 492.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.138, allocations: 170.6 kB / 492.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.1383, allocations: 106.2 kB / 492.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.1386, allocations: 346.7 kB / 492.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.1398, allocations: 265 kB / 493.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.141, allocations: 272.8 kB / 493.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.1432, allocations: 0.5057 MB / 493.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1432, allocations: 0 / 493.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002795/0.146, allocations: 0.6705 MB / 494.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.146, allocations: 8 kB / 494.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.146, allocations: 0 / 494.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1461, allocations: 0 / 494.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.1473, allocations: 147.7 kB / 494.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.1474, allocations: 8 kB / 494.7 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.1479, allocations: 59.58 kB / 494.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.1481, allocations: 75.83 kB / 494.9 MB, free: 240 kB / 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: 6 (globalSeed.seed,noise2.actualGlobalSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0003502/0.1485, allocations: 158.2 kB / 495 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.1486, allocations: 31.75 kB / 495.1 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.1516, allocations: 0.6713 MB / 495.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1516, allocations: 4 kB / 495.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.1517, allocations: 7.984 kB / 495.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1517, allocations: 0 / 495.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.1528, allocations: 0.5638 MB / 496.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1528, allocations: 4 kB / 496.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.1537, allocations: 119.8 kB / 496.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.1537, allocations: 7.984 kB / 496.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.1537, allocations: 19.98 kB / 496.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1538, allocations: 4 kB / 496.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1538, allocations: 0 / 496.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.1574, allocations: 1.049 MB / 497.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1575, allocations: 120.8 kB / 497.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.1576, allocations: 8 kB / 497.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.1582, allocations: 31.95 kB / 497.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.1584, allocations: 52.45 kB / 497.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.1586, allocations: 67.83 kB / 497.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.1588, allocations: 164.4 kB / 498 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1588, allocations: 0 / 498 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001053/0.1599, allocations: 171.6 kB / 498.1 MB, free: 12.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (crossCorrelationTest.correlation.int_X,crossCorrelationTest.correlation.int_Y,crossCorrelationTest.correlation.int_X2,crossCorrelationTest.correlation.int_Y2,crossCorrelationTest.correlation.int_XY,autoCorrelationTest.correlationTest.correlation.int_X,autoCorrelationTest.correlationTest.correlation.int_Y,autoCorrelationTest.correlationTest.correlation.int_X2,autoCorrelationTest.correlationTest.correlation.int_Y2,autoCorrelationTest.correlationTest.correlation.int_XY) * Number of discrete variables: 2 (noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001294/0.1612, allocations: 336.9 kB / 498.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.1637, allocations: 0.5834 MB / 499 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1638, allocations: 0 / 499 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.1651, allocations: 314.3 kB / 499.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.1657, allocations: 28.38 kB / 499.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.1685, allocations: 0.9069 MB / 0.4885 GB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.169, allocations: 0.7997 MB / 0.4893 GB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006842/0.1697, allocations: 90.86 kB / 0.4894 GB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.1701, allocations: 59.38 kB / 0.4895 GB, free: 9.781 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1701, allocations: 0 / 0.4895 GB, free: 9.781 MB / 366.1 MB Notification: Performance of Templates: time 0.02027/0.1904, allocations: 7.252 MB / 0.4966 GB, free: 2.562 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.312667636200786] Failed to read output from testmodel.py, exit status != 0: 0.1989897326566279 0.21278117600000002 0.093600393 Calling exit ...