Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.0009825/0.0009825, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001027/0.001027, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.979/0.979, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.04236/0.04236, allocations: 3.16 MB / 263.4 MB, free: 9.949 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.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 280.6 MB, free: 8.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.721e-05, allocations: 2.312 kB / 280.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.00339/0.003418, allocations: 1.945 MB / 282.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.006335, allocations: 1.53 MB / 284.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.00652, allocations: 7.938 kB / 284.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.006723, allocations: 47.41 kB / 284.2 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009109/0.007634, allocations: 270.8 kB / 284.4 MB, free: 4.906 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.0008489/0.008483, allocations: 370.8 kB / 284.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007173/0.0092, allocations: 0.6433 MB / 285.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.009374, allocations: 72.33 kB / 285.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.009873, allocations: 363.3 kB / 285.9 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.01023, allocations: 227.4 kB / 286.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.01035, allocations: 64 kB / 286.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.011, allocations: 383.2 kB / 286.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01113, allocations: 131.6 kB / 286.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.01133, allocations: 163.6 kB / 286.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.01217, allocations: 0.5996 MB / 287.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01217, allocations: 0 / 287.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01217, allocations: 0 / 287.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.01218, allocations: 4 kB / 287.4 MB, free: 1.914 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00226/0.01444, allocations: 1.719 MB / 289.1 MB, free: 152 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.01448, allocations: 12.03 kB / 289.2 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1262/0.1407, allocations: 211.3 kB / 289.4 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.1413, allocations: 242.2 kB / 289.6 MB, free: 23.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.1414, allocations: 34.27 kB / 289.6 MB, free: 23.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1415, allocations: 44.78 kB / 289.7 MB, free: 23.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.1424, allocations: 438.6 kB / 290.1 MB, free: 23.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1424, allocations: 1.531 kB / 290.1 MB, free: 23.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.1425, allocations: 12.97 kB / 290.1 MB, free: 23.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1425, allocations: 6.906 kB / 290.1 MB, free: 23.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/0.1431, allocations: 293.4 kB / 290.4 MB, free: 23.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1447, allocations: 0.6223 MB / 291 MB, free: 23.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.1454, allocations: 376 kB / 291.4 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.1457, allocations: 229.9 kB / 291.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.1457, allocations: 8.812 kB / 291.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/0.1464, allocations: 0.5777 MB / 292.2 MB, free: 22.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.226e-06/0.1464, allocations: 0 / 292.2 MB, free: 22.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001195/0.1476, allocations: 0.7799 MB / 293 MB, free: 22.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1476, allocations: 126.2 kB / 293.1 MB, free: 22.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.1479, allocations: 238.1 kB / 293.3 MB, free: 22.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1479, allocations: 37.02 kB / 293.4 MB, free: 22.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.148, allocations: 140.4 kB / 293.5 MB, free: 22.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1481, allocations: 187.5 kB / 293.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.1484, allocations: 123.4 kB / 293.8 MB, free: 21.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.1484, allocations: 350.6 kB / 294.2 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.1488, allocations: 194.5 kB / 294.4 MB, free: 21.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.149, allocations: 195.9 kB / 294.5 MB, free: 21.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.1497, allocations: 461.6 kB / 295 MB, free: 21.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1497, allocations: 0.5 kB / 295 MB, free: 21.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007768/0.1504, allocations: 0.5111 MB / 295.5 MB, free: 21.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.1505, allocations: 85.66 kB / 295.6 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1505, allocations: 1.188 kB / 295.6 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1505, allocations: 6.766 kB / 295.6 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.1511, allocations: 127.5 kB / 295.7 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.1511, allocations: 3.312 kB / 295.7 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.1514, allocations: 63.52 kB / 295.8 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.1515, allocations: 41.52 kB / 295.8 MB, free: 21.09 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 (noise1.localSeed,globalSeed.seed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.localSeed,noise2.actualGlobalSeed,noise2.r,noise2.bufferStartTime,noise2.buffer[2],noise2.buffer[1],noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],noise1.r,noise1.bufferStartTime,noise1.buffer[2],noise1.buffer[1],noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.0002682/0.1518, allocations: 246.5 kB / 296.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.1519, allocations: 60.17 kB / 296.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.1527, allocations: 0.6481 MB / 296.8 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1527, allocations: 9.969 kB / 296.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1527, allocations: 0.5625 kB / 296.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1527, allocations: 1.734 kB / 296.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.1531, allocations: 296.8 kB / 297.1 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1531, allocations: 2.562 kB / 297.1 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.1534, allocations: 99.42 kB / 297.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1534, allocations: 2.156 kB / 297.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.1535, allocations: 24.23 kB / 297.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1535, allocations: 2.281 kB / 297.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1535, allocations: 1.281 kB / 297.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1545, allocations: 0.984 MB / 298.2 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.1545, allocations: 38.72 kB / 298.2 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.1546, allocations: 27.75 kB / 298.3 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1548, allocations: 37.41 kB / 298.3 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.1549, allocations: 61.64 kB / 298.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.155, allocations: 48.52 kB / 298.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.155, allocations: 81.92 kB / 298.5 MB, free: 20.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.155, allocations: 0 / 298.5 MB, free: 20.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.1554, allocations: 170.7 kB / 298.6 MB, free: 20.31 MB / 266.7 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: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noise1.state[1],noise1.state[2],noise1.state[3],noise1.state[4],noise1.buffer[1],noise1.buffer[2],noise1.bufferStartTime,noise1.r,noise2.state[1],noise2.state[2],noise2.state[3],noise2.state[4],noise2.buffer[1],noise2.buffer[2],noise2.bufferStartTime,noise2.r) * Number of discrete states: 20 (noise2.buffer[2],noise2.buffer[1],noise2.r,noise2.bufferStartTime,noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],$whenCondition2,$whenCondition1,noise1.buffer[2],noise1.buffer[1],noise1.r,noise1.bufferStartTime,noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * 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.0006565/0.1561, allocations: 366.9 kB / 299 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000698/0.1568, allocations: 0.6996 MB / 299.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1568, allocations: 1.719 kB / 299.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.1571, allocations: 470.9 kB / 300.2 MB, free: 19.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1574, allocations: 78.44 kB / 300.2 MB, free: 19.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1584, allocations: 0.9316 MB / 301.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.1584, allocations: 111.7 kB / 301.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.1586, allocations: 68.8 kB / 301.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.1589, allocations: 174.8 kB / 301.5 MB, free: 19.17 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1589, allocations: 0 / 301.5 MB, free: 19.17 MB / 266.7 MB Notification: Performance of Templates: time 0.009691/0.1686, allocations: 9.081 MB / 310.6 MB, free: 11.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.338794445153326]