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.001945/0.001945, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002236/0.002236, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.789 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.02872/0.02872, allocations: 3.945 MB / 316.4 MB, free: 15.11 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: "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 67.89 kB / 439.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 54.16 MB / 493.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003759/0.1066, allocations: 1.901 MB / 495.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.1097, allocations: 1.472 MB / 497.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.11, allocations: 0 / 497.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1103, allocations: 55.41 kB / 497.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.1115, allocations: 270.9 kB / 497.5 MB, free: 1.703 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.001061/0.1125, allocations: 367.1 kB / 497.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009515/0.1135, allocations: 0.6473 MB / 498.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1137, allocations: 62.27 kB / 498.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.1142, allocations: 259.2 kB / 498.9 MB, free: 384 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.1147, allocations: 255.1 kB / 499.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.1149, allocations: 64 kB / 499.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009407/0.1158, allocations: 391.5 kB / 499.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.116, allocations: 127.6 kB / 499.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.1163, allocations: 195.1 kB / 499.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1174, allocations: 0.728 MB / 0.4889 GB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1174, allocations: 0 / 0.4889 GB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1174, allocations: 4 kB / 0.4889 GB, free: 14.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.1174, allocations: 0 / 0.4889 GB, free: 14.63 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.003596/0.121, allocations: 2.382 MB / 0.4912 GB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.245e-05/0.1211, allocations: 12.03 kB / 0.4912 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.1212, allocations: 62.73 kB / 0.4913 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.1226, allocations: 161.8 kB / 0.4914 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.1234, allocations: 317.7 kB / 0.4917 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.1235, allocations: 36.88 kB / 0.4918 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.1236, allocations: 32.38 kB / 0.4918 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.1249, allocations: 0.6606 MB / 0.4924 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1249, allocations: 3.938 kB / 0.4924 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.125, allocations: 16 kB / 0.4924 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.125, allocations: 4 kB / 0.4925 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.1267, allocations: 0.7042 MB / 0.4931 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.1288, allocations: 0.982 MB / 0.4941 GB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.1304, allocations: 0.5964 MB / 0.4947 GB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.1318, allocations: 477.2 kB / 0.4951 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.1318, allocations: 4.328 kB / 0.4951 GB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/0.1336, allocations: 0.8213 MB / 0.4959 GB, free: 7.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 1.567e-05/0.1337, allocations: 0 / 0.4959 GB, free: 7.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003241/0.1369, allocations: 1.546 MB / 0.4975 GB, free: 5.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.137, allocations: 126.8 kB / 0.4976 GB, free: 5.391 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.1373, allocations: 257.8 kB / 0.4978 GB, free: 5.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.1374, allocations: 41.64 kB / 0.4979 GB, free: 5.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1375, allocations: 149.2 kB / 0.498 GB, free: 4.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.1377, allocations: 182.4 kB / 0.4982 GB, free: 4.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.1379, allocations: 126.1 kB / 0.4983 GB, free: 4.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1381, allocations: 350.7 kB / 0.4986 GB, free: 4.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008988/0.139, allocations: 436.3 kB / 0.499 GB, free: 3.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/0.1399, allocations: 436.5 kB / 0.4995 GB, free: 3.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.1417, allocations: 0.8388 MB / 0.5003 GB, free: 2.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1417, allocations: 0 / 0.5003 GB, free: 2.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002154/0.1439, allocations: 1.003 MB / 0.5013 GB, free: 1.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.882e-05/0.144, allocations: 87.38 kB / 0.5013 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.144, allocations: 3.938 kB / 0.5013 GB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.144, allocations: 3.984 kB / 0.5014 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/0.1447, allocations: 131.8 kB / 0.5015 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1448, allocations: 4 kB / 0.5015 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.1452, allocations: 79.58 kB / 0.5016 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.1453, allocations: 51.92 kB / 0.5016 GB, free: 1.133 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.0003847/0.1457, allocations: 271.1 kB / 0.5019 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1458, allocations: 43.77 kB / 0.5019 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.1483, allocations: 1.208 MB / 0.5031 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.1483, allocations: 7.984 kB / 0.5031 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1483, allocations: 0 / 0.5031 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1483, allocations: 0 / 0.5031 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.149, allocations: 476.6 kB / 0.5035 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.149, allocations: 3.984 kB / 0.5036 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.1497, allocations: 107.8 kB / 0.5037 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1497, allocations: 4 kB / 0.5037 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.1498, allocations: 23.98 kB / 0.5037 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.1498, allocations: 4 kB / 0.5037 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1498, allocations: 0 / 0.5037 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/0.1533, allocations: 1.824 MB / 0.5055 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.1534, allocations: 39.73 kB / 0.5055 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.1535, allocations: 35.92 kB / 0.5055 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.1539, allocations: 39.95 kB / 0.5056 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.1541, allocations: 63.89 kB / 0.5056 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.1542, allocations: 60.05 kB / 0.5057 GB, free: 12.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.1543, allocations: 173.2 kB / 0.5059 GB, free: 12.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1543, allocations: 0 / 0.5059 GB, free: 12.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000571/0.1549, allocations: 171.7 kB / 0.506 GB, free: 12.45 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.004635/0.1595, allocations: 2.595 MB / 0.5086 GB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.162, allocations: 1.187 MB / 0.5097 GB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.162, allocations: 0 / 0.5097 GB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.1632, allocations: 0.6936 MB / 0.5104 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1636, allocations: 44.44 kB / 0.5104 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009416/0.173, allocations: 5.535 MB / 0.5158 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1732, allocations: 199.9 kB / 0.516 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.1736, allocations: 66.95 kB / 0.5161 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.1739, allocations: 147.3 kB / 0.5162 GB, free: 1.703 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1739, allocations: 0 / 0.5162 GB, free: 1.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2364/0.4103, allocations: 12.85 MB / 0.5288 GB, free: 34.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.43, allocations: 3.344 kB / 0.5288 GB, free: 34.81 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.617662449833006] Failed to read output from testmodel.py, exit status != 0: 12.539545829873532 12.556103356 12.436319924 Calling exit ...