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.001883/0.001883, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002418/0.002418, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.02856/0.02856, allocations: 3.949 MB / 317.1 MB, free: 15.2 MB / 254.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.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 0.00211/0.00211, allocations: 71.89 kB / 440.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09967, allocations: 54.15 MB / 495.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003791/0.1035, allocations: 1.901 MB / 497 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.1067, allocations: 1.472 MB / 498.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.107, allocations: 3.938 kB / 498.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1072, allocations: 59.39 kB / 498.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1082, allocations: 263 kB / 498.8 MB, free: 1.25 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'. Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1092, allocations: 363.1 kB / 499.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008836/0.1101, allocations: 0.6434 MB / 499.8 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.1103, allocations: 58.27 kB / 499.8 MB, free: 192 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.1108, allocations: 259.3 kB / 0.4884 GB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.1112, allocations: 267 kB / 0.4886 GB, free: 15.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.1114, allocations: 64 kB / 0.4887 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008084/0.1122, allocations: 387.4 kB / 0.4891 GB, free: 15.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1124, allocations: 131.6 kB / 0.4892 GB, free: 15.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.1127, allocations: 191.2 kB / 0.4894 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1138, allocations: 0.7281 MB / 0.4901 GB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1138, allocations: 0 / 0.4901 GB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1138, allocations: 3.938 kB / 0.4901 GB, free: 14.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.1138, allocations: 0 / 0.4901 GB, free: 14.18 MB / 366.1 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.003358/0.1172, allocations: 2.385 MB / 0.4924 GB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1172, allocations: 8.031 kB / 0.4924 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.1186, allocations: 160.5 kB / 0.4926 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.1193, allocations: 313.8 kB / 0.4929 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.1194, allocations: 36.88 kB / 0.4929 GB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.854e-05/0.1195, allocations: 40.36 kB / 0.4929 GB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.1209, allocations: 0.649 MB / 0.4936 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1209, allocations: 4.125 kB / 0.4936 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.121, allocations: 19.94 kB / 0.4936 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.121, allocations: 8 kB / 0.4936 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.1227, allocations: 0.7042 MB / 0.4943 GB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.1247, allocations: 0.9357 MB / 0.4952 GB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.1261, allocations: 0.5885 MB / 0.4958 GB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00096/0.1271, allocations: 489.1 kB / 0.4962 GB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.1271, allocations: 8.328 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.1285, allocations: 0.8096 MB / 0.497 GB, free: 6.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.965e-06/0.1285, allocations: 0 / 0.497 GB, free: 6.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003381/0.1319, allocations: 1.55 MB / 0.4986 GB, free: 5.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.132, allocations: 126.8 kB / 0.4987 GB, free: 5.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.1323, allocations: 257.8 kB / 0.4989 GB, free: 4.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.1324, allocations: 37.7 kB / 0.499 GB, free: 4.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1325, allocations: 153.2 kB / 0.4991 GB, free: 4.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.1327, allocations: 186.4 kB / 0.4993 GB, free: 4.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.1329, allocations: 122.1 kB / 0.4994 GB, free: 4.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1331, allocations: 346.8 kB / 0.4997 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009303/0.134, allocations: 432.3 kB / 0.5001 GB, free: 3.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.1349, allocations: 444.5 kB / 0.5006 GB, free: 3.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.1367, allocations: 0.8311 MB / 0.5014 GB, free: 2.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1367, allocations: 0 / 0.5014 GB, free: 2.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002235/0.139, allocations: 1.014 MB / 0.5024 GB, free: 1.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.551e-05/0.1391, allocations: 87.38 kB / 0.5025 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1391, allocations: 0 / 0.5025 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1391, allocations: 4 kB / 0.5025 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/0.1399, allocations: 127.8 kB / 0.5026 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1399, allocations: 4 kB / 0.5026 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.1403, allocations: 71.58 kB / 0.5027 GB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.1404, allocations: 47.94 kB / 0.5027 GB, free: 0.8281 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: 26 (globalSeed.seed,noise2.actualGlobalSeed,noise2.localSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise1.localSeed,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.0003711/0.1408, allocations: 290.9 kB / 0.503 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1409, allocations: 43.77 kB / 0.503 GB, free: 492 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.1434, allocations: 1.196 MB / 0.5042 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.1435, allocations: 4 kB / 0.5042 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1435, allocations: 4 kB / 0.5042 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1435, allocations: 7.922 kB / 0.5042 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.1441, allocations: 417.3 kB / 0.5046 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.1441, allocations: 7.938 kB / 0.5046 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/0.1448, allocations: 103.8 kB / 0.5047 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1448, allocations: 4 kB / 0.5047 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.1449, allocations: 27.97 kB / 0.5047 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1449, allocations: 4 kB / 0.5047 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1449, allocations: 7.938 kB / 0.5047 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.1485, allocations: 1.816 MB / 0.5065 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.1486, allocations: 43.56 kB / 0.5066 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.1487, allocations: 35.98 kB / 0.5066 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.1491, allocations: 31.97 kB / 0.5066 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.1493, allocations: 67.88 kB / 0.5067 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.1494, allocations: 59.95 kB / 0.5068 GB, free: 12.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1496, allocations: 169.2 kB / 0.5069 GB, free: 12.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1496, allocations: 3.938 kB / 0.5069 GB, free: 12.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.1502, allocations: 175.7 kB / 0.5071 GB, free: 12.19 MB / 382.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: 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.000801/0.151, allocations: 334.2 kB / 0.5074 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.1534, allocations: 1.179 MB / 0.5086 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1534, allocations: 0 / 0.5086 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.1547, allocations: 0.6897 MB / 0.5092 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.155, allocations: 48.38 kB / 0.5093 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1572, allocations: 1.235 MB / 0.5105 GB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1575, allocations: 203.9 kB / 0.5107 GB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.1577, allocations: 55.39 kB / 0.5107 GB, free: 8.355 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1577, allocations: 0 / 0.5107 GB, free: 8.355 MB / 382.1 MB Notification: Performance of Templates: time 0.1988/0.3565, allocations: 8.431 MB / 0.519 GB, free: 37.08 MB / 382.1 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.189082311931998] Failed to read output from testmodel.py, exit status != 0: 0.3637675470672548 0.37704576100000003 0.26037722900000004 Calling exit ...