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.001321/0.001321, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001442/0.001442, allocations: 189 kB / 22.22 MB, free: 5.105 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.488/1.488, allocations: 225.6 MB / 251 MB, free: 13.02 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.02812/0.02812, allocations: 3.939 MB / 310.2 MB, free: 4.871 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.002053/0.002053, allocations: 67.89 kB / 431.8 MB, free: 19.43 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1162, allocations: 52.96 MB / 484.7 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003699/0.1199, allocations: 2.048 MB / 486.8 MB, free: 12.32 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003246/0.1232, allocations: 1.705 MB / 488.5 MB, free: 10.61 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1233, allocations: 3.938 kB / 488.5 MB, free: 10.61 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.1235, allocations: 43.47 kB / 488.5 MB, free: 10.56 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007391/0.1242, allocations: 259 kB / 488.8 MB, free: 10.31 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.0009944/0.1252, allocations: 390.9 kB / 489.2 MB, free: 9.926 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007282/0.1259, allocations: 0.6005 MB / 489.8 MB, free: 9.324 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.1261, allocations: 79.73 kB / 489.8 MB, free: 9.246 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.1264, allocations: 231.3 kB / 490.1 MB, free: 9.02 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.1268, allocations: 279 kB / 490.3 MB, free: 8.746 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1269, allocations: 64 kB / 490.4 MB, free: 8.684 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.1278, allocations: 475.3 kB / 490.9 MB, free: 8.219 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.128, allocations: 139.6 kB / 491 MB, free: 8.082 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.1282, allocations: 218.9 kB / 491.2 MB, free: 7.867 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1292, allocations: 0.7555 MB / 492 MB, free: 7.109 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1292, allocations: 0 / 492 MB, free: 7.109 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.843e-06/0.1292, allocations: 0 / 492 MB, free: 7.109 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 9.698e-06/0.1292, allocations: 0 / 492 MB, free: 7.109 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.001501/0.1307, allocations: 0.6472 MB / 492.6 MB, free: 6.426 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1308, allocations: 8.031 kB / 492.6 MB, free: 6.418 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.1321, allocations: 172.4 kB / 492.8 MB, free: 6.25 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.1329, allocations: 313.5 kB / 493.1 MB, free: 5.918 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.1329, allocations: 40.95 kB / 493.1 MB, free: 5.879 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.133, allocations: 44.31 kB / 493.2 MB, free: 5.836 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1343, allocations: 474.3 kB / 493.6 MB, free: 5.367 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1343, allocations: 4.188 kB / 493.6 MB, free: 5.363 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.1344, allocations: 11.94 kB / 493.7 MB, free: 5.352 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1344, allocations: 8 kB / 493.7 MB, free: 5.344 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.1359, allocations: 0.5217 MB / 494.2 MB, free: 4.82 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.1383, allocations: 1.169 MB / 495.4 MB, free: 3.605 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.1399, allocations: 499.5 kB / 495.8 MB, free: 3.109 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.1406, allocations: 261.5 kB / 496.1 MB, free: 2.852 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.1407, allocations: 16.36 kB / 496.1 MB, free: 2.836 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1407, allocations: 34.94 kB / 496.1 MB, free: 2.793 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=46): time 1.693e-06/0.1407, allocations: 0 / 496.1 MB, free: 2.793 MB / 350.1 MB
Notification: Performance of matching and sorting (n=46): time 0.002601/0.1433, allocations: 0.835 MB / 497 MB, free: 1.953 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1434, allocations: 55.41 kB / 497 MB, free: 1.887 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.1436, allocations: 225.1 kB / 497.3 MB, free: 1.656 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.1437, allocations: 37.7 kB / 497.3 MB, free: 1.613 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1438, allocations: 165.1 kB / 497.5 MB, free: 1.449 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.144, allocations: 170.5 kB / 497.6 MB, free: 1.281 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.1442, allocations: 114.3 kB / 497.7 MB, free: 1.16 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001754/0.1444, allocations: 346.8 kB / 498.1 MB, free: 0.8125 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007827/0.1452, allocations: 261.1 kB / 498.3 MB, free: 0.5586 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/0.146, allocations: 269.8 kB / 498.6 MB, free: 300 kB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.1475, allocations: 0.5072 MB / 499.1 MB, free: 15.78 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1475, allocations: 3.984 kB / 499.1 MB, free: 15.78 MB / 366.1 MB
Notification: Performance of matching and sorting (n=64) (initialization): time 0.001859/0.1493, allocations: 0.6649 MB / 499.8 MB, free: 15.11 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1493, allocations: 8 kB / 499.8 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1494, allocations: 0 / 499.8 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1494, allocations: 0 / 499.8 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.1502, allocations: 151.7 kB / 499.9 MB, free: 14.95 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1503, allocations: 4 kB / 499.9 MB, free: 14.95 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.1506, allocations: 59.62 kB / 500 MB, free: 14.89 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.1508, allocations: 72.78 kB / 0.4883 GB, free: 14.82 MB / 366.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.0002505/0.151, allocations: 165.7 kB / 0.4885 GB, free: 14.64 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.1511, allocations: 31.81 kB / 0.4885 GB, free: 14.61 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.1531, allocations: 0.6751 MB / 0.4892 GB, free: 13.93 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1531, allocations: 8 kB / 0.4892 GB, free: 13.92 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1531, allocations: 0 / 0.4892 GB, free: 13.92 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1531, allocations: 3.984 kB / 0.4892 GB, free: 13.92 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.1539, allocations: 0.5355 MB / 0.4897 GB, free: 13.34 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1539, allocations: 4 kB / 0.4897 GB, free: 13.34 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.1548, allocations: 123.8 kB / 0.4898 GB, free: 13.22 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1548, allocations: 0 / 0.4898 GB, free: 13.22 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.1548, allocations: 27.91 kB / 0.4899 GB, free: 13.19 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1548, allocations: 0 / 0.4899 GB, free: 13.19 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1548, allocations: 0 / 0.4899 GB, free: 13.19 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.1576, allocations: 1.045 MB / 0.4909 GB, free: 12.13 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.1577, allocations: 43.62 kB / 0.4909 GB, free: 12.09 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.1577, allocations: 8 kB / 0.4909 GB, free: 12.08 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.1582, allocations: 31.97 kB / 0.491 GB, free: 12.05 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.1583, allocations: 56.33 kB / 0.491 GB, free: 11.99 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.1585, allocations: 67.89 kB / 0.4911 GB, free: 11.93 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001958/0.1587, allocations: 160.4 kB / 0.4912 GB, free: 11.77 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1587, allocations: 0 / 0.4912 GB, free: 11.77 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007711/0.1595, allocations: 167.6 kB / 0.4914 GB, free: 11.61 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.001101/0.1606, allocations: 344.4 kB / 0.4917 GB, free: 11.32 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001753/0.1623, allocations: 0.584 MB / 0.4923 GB, free: 10.74 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1623, allocations: 0 / 0.4923 GB, free: 10.74 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008549/0.1632, allocations: 310.2 kB / 0.4926 GB, free: 10.43 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1635, allocations: 36.31 kB / 0.4926 GB, free: 10.39 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.1656, allocations: 0.8962 MB / 0.4935 GB, free: 9.473 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.1661, allocations: 0.8076 MB / 0.4943 GB, free: 8.637 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0004475/0.1666, allocations: 94.84 kB / 0.4944 GB, free: 8.543 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.1668, allocations: 55.38 kB / 0.4944 GB, free: 8.488 MB / 366.1 MB
Notification: Performance of SimCode: time 6.71e-07/0.1668, allocations: 0 / 0.4944 GB, free: 8.488 MB / 366.1 MB
Notification: Performance of Templates: time 0.0159/0.1827, allocations: 7.511 MB / 0.5018 GB, free: 1.008 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.606370969675481]
Failed to read output from testmodel.py, exit status != 0:
0.1913402182981372 0.20781186699999996 0.07526381800000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc1ec0fd7b0>