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.001313/0.001313, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001447/0.001447, allocations: 211.1 kB / 23 MB, free: 5.113 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.02948/0.02948, allocations: 3.943 MB / 317.1 MB, free: 15.36 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.002089/0.002089, allocations: 59.91 kB / 441 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1184, allocations: 54.15 MB / 495.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.004451/0.1229, allocations: 2.022 MB / 497.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005271/0.1281, allocations: 1.565 MB / 498.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.1284, allocations: 7.938 kB / 498.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1286, allocations: 51.47 kB / 498.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1296, allocations: 262.9 kB / 499.1 MB, free: 1.355 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.001053/0.1307, allocations: 363.1 kB / 499.4 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.1316, allocations: 0.6512 MB / 0.4883 GB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.1318, allocations: 62.31 kB / 0.4884 GB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.1323, allocations: 267.2 kB / 0.4887 GB, free: 20 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.1328, allocations: 279.1 kB / 0.4889 GB, free: 15.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.133, allocations: 68 kB / 0.489 GB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008383/0.1338, allocations: 395.3 kB / 0.4894 GB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.134, allocations: 135.6 kB / 0.4895 GB, free: 15.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.1343, allocations: 234.9 kB / 0.4897 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1355, allocations: 0.7242 MB / 0.4904 GB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1355, allocations: 0 / 0.4904 GB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1355, allocations: 0 / 0.4904 GB, free: 14.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.1355, allocations: 7.938 kB / 0.4904 GB, free: 14.2 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.00372/0.1393, allocations: 2.409 MB / 0.4928 GB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1393, allocations: 12.03 kB / 0.4928 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.1407, allocations: 172.4 kB / 0.493 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008804/0.1416, allocations: 313.7 kB / 0.4933 GB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.1417, allocations: 32.88 kB / 0.4933 GB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1418, allocations: 44.38 kB / 0.4933 GB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.1431, allocations: 0.5676 MB / 0.4939 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1432, allocations: 4.188 kB / 0.4939 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.1432, allocations: 11.94 kB / 0.4939 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1432, allocations: 4 kB / 0.4939 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.1449, allocations: 0.6345 MB / 0.4945 GB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.1472, allocations: 1.107 MB / 0.4956 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.1485, allocations: 0.5072 MB / 0.4961 GB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008785/0.1494, allocations: 397.8 kB / 0.4965 GB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.1494, allocations: 8.312 kB / 0.4965 GB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.1508, allocations: 0.7555 MB / 0.4972 GB, free: 7.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.956e-06/0.1508, allocations: 4 kB / 0.4972 GB, free: 7.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003105/0.1539, allocations: 1.387 MB / 0.4986 GB, free: 5.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.154, allocations: 134.8 kB / 0.4987 GB, free: 5.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.1543, allocations: 253.8 kB / 0.499 GB, free: 5.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.1544, allocations: 37.7 kB / 0.499 GB, free: 5.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1545, allocations: 157.1 kB / 0.4991 GB, free: 5.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.1547, allocations: 186.4 kB / 0.4993 GB, free: 4.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.155, allocations: 118.1 kB / 0.4994 GB, free: 4.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.1552, allocations: 354.8 kB / 0.4998 GB, free: 4.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008579/0.156, allocations: 352.9 kB / 0.5001 GB, free: 4.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.1569, allocations: 353.1 kB / 0.5005 GB, free: 3.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.1587, allocations: 0.8271 MB / 0.5013 GB, free: 2.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1587, allocations: 0 / 0.5013 GB, free: 2.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002056/0.1608, allocations: 0.9173 MB / 0.5022 GB, free: 1.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.1609, allocations: 95.36 kB / 0.5022 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1609, allocations: 0 / 0.5022 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1609, allocations: 4 kB / 0.5022 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.1617, allocations: 135.8 kB / 0.5024 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.1617, allocations: 4 kB / 0.5024 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.1621, allocations: 71.59 kB / 0.5025 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.1622, allocations: 51.86 kB / 0.5025 GB, free: 1.527 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.0003787/0.1626, allocations: 287.1 kB / 0.5028 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1627, allocations: 47.77 kB / 0.5028 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.1651, allocations: 1.142 MB / 0.5039 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1651, allocations: 4 kB / 0.5039 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1651, allocations: 0 / 0.5039 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1651, allocations: 3.984 kB / 0.5039 GB, free: 0 / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.1659, allocations: 0.5667 MB / 0.5045 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1659, allocations: 4 kB / 0.5045 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.1666, allocations: 107.8 kB / 0.5046 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1666, allocations: 0 / 0.5046 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.517e-05/0.1667, allocations: 35.97 kB / 0.5046 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1667, allocations: 0 / 0.5046 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1667, allocations: 0 / 0.5046 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.1701, allocations: 1.665 MB / 0.5063 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.1702, allocations: 43.64 kB / 0.5063 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.1703, allocations: 31.98 kB / 0.5063 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.1707, allocations: 39.95 kB / 0.5064 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.1709, allocations: 63.89 kB / 0.5064 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.171, allocations: 47.94 kB / 0.5065 GB, free: 13.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.1712, allocations: 173.2 kB / 0.5066 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1712, allocations: 0 / 0.5066 GB, free: 13.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.1717, allocations: 175.7 kB / 0.5068 GB, free: 12.98 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.0008095/0.1725, allocations: 330.3 kB / 0.5071 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.1747, allocations: 1.016 MB / 0.5081 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1747, allocations: 0 / 0.5081 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.1759, allocations: 0.6356 MB / 0.5087 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1762, allocations: 58.77 kB / 0.5088 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1784, allocations: 1.119 MB / 0.5099 GB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.1789, allocations: 0.8082 MB / 0.5107 GB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.1791, allocations: 51.39 kB / 0.5107 GB, free: 8.906 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1791, allocations: 0 / 0.5107 GB, free: 8.906 MB / 382.1 MB Notification: Performance of Templates: time 0.01707/0.1962, allocations: 8.352 MB / 0.5189 GB, free: 0.5938 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.133336144965142] Failed to read output from testmodel.py, exit status != 0: 0.4155851670075208 0.429281899 0.290944759 Calling exit ...