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.0007761/0.0007761, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001323/0.001323, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.915/0.915, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.01466/0.01466, allocations: 3.138 MB / 262.3 MB, free: 10.26 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: "" <> 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 1.312e-06/1.312e-06, allocations: 0 / 385.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.116e-05, allocations: 6.219 kB / 385.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002189/0.00221, allocations: 1.908 MB / 387.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.004246, allocations: 1.475 MB / 389.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.004394, allocations: 7.938 kB / 389.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.00456, allocations: 51.41 kB / 389.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006801/0.00524, allocations: 266.8 kB / 389.4 MB, free: 8.496 MB / 362.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.000722/0.005962, allocations: 370.9 kB / 389.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007871/0.006749, allocations: 0.655 MB / 390.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.00692, allocations: 66.36 kB / 390.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.007278, allocations: 351.3 kB / 390.9 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.007489, allocations: 235.5 kB / 391.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.007552, allocations: 64 kB / 391.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.00808, allocations: 387.2 kB / 391.5 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.008181, allocations: 135.6 kB / 391.7 MB, free: 6.258 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.008314, allocations: 167.6 kB / 391.8 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.008966, allocations: 0.7831 MB / 392.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00897, allocations: 0 / 392.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.008971, allocations: 0 / 392.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.008977, allocations: 0 / 392.6 MB, free: 5.309 MB / 362.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.001956/0.01093, allocations: 2.382 MB / 395 MB, free: 2.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.01098, allocations: 12.03 kB / 395 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.532e-05/0.01106, allocations: 66.72 kB / 395.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.01183, allocations: 160.5 kB / 395.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.01227, allocations: 320.9 kB / 395.5 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.01232, allocations: 32.88 kB / 395.6 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.01238, allocations: 40.31 kB / 395.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/0.01328, allocations: 0.649 MB / 396.3 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01329, allocations: 8.125 kB / 396.3 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.01333, allocations: 12.38 kB / 396.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01334, allocations: 8.125 kB / 396.3 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.01477, allocations: 0.7042 MB / 397 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.01609, allocations: 0.9745 MB / 398 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.01692, allocations: 0.5886 MB / 398.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.01742, allocations: 481.3 kB / 399 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.01746, allocations: 8.266 kB / 399 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007511/0.01821, allocations: 0.8097 MB / 399.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.425e-06/0.01821, allocations: 0 / 399.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.001909/0.02012, allocations: 1.546 MB / 401.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.02019, allocations: 130.8 kB / 401.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.02038, allocations: 253.9 kB / 401.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.02041, allocations: 37.7 kB / 401.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.02049, allocations: 157.2 kB / 402 MB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.02061, allocations: 182.4 kB / 402.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.02076, allocations: 126.1 kB / 402.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.02086, allocations: 346.8 kB / 402.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.02136, allocations: 428.3 kB / 403 MB, free: 10.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.02186, allocations: 448.5 kB / 403.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.02322, allocations: 0.8311 MB / 404.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02322, allocations: 4 kB / 404.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001201/0.02442, allocations: 1.01 MB / 405.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.02449, allocations: 87.38 kB / 405.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.0245, allocations: 0 / 405.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.02452, allocations: 7.984 kB / 405.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.02491, allocations: 131.8 kB / 405.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.02492, allocations: 4 kB / 405.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.02512, allocations: 71.58 kB / 405.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.02519, allocations: 47.94 kB / 405.6 MB, free: 7.828 MB / 378.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 (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.0002531/0.02545, allocations: 279.1 kB / 405.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.02551, allocations: 47.7 kB / 406 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.02705, allocations: 1.192 MB / 407.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.02705, allocations: 4 kB / 407.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.02706, allocations: 7.922 kB / 407.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.02707, allocations: 0 / 407.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.02759, allocations: 484.7 kB / 407.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.02759, allocations: 3.938 kB / 407.6 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.02797, allocations: 107.8 kB / 407.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.02798, allocations: 0 / 407.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.02803, allocations: 35.91 kB / 407.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.02803, allocations: 0 / 407.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.02804, allocations: 0 / 407.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.03021, allocations: 1.816 MB / 409.6 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.03027, allocations: 47.56 kB / 409.6 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.03035, allocations: 35.98 kB / 409.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.03053, allocations: 35.97 kB / 409.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.03068, allocations: 67.88 kB / 409.8 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/0.03075, allocations: 51.92 kB / 409.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.03087, allocations: 169.3 kB / 410 MB, free: 3.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03087, allocations: 3.938 kB / 410 MB, free: 3.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004453/0.03132, allocations: 175.7 kB / 410.2 MB, free: 3.137 MB / 378.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.003237/0.03456, allocations: 2.607 MB / 412.8 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.03608, allocations: 1.183 MB / 414 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.03608, allocations: 0 / 414 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.03682, allocations: 0.6973 MB / 414.7 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.0371, allocations: 43.88 kB / 414.7 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.04357, allocations: 5.502 MB / 420.2 MB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.04374, allocations: 207.9 kB / 420.4 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.04403, allocations: 70.95 kB / 420.5 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.04425, allocations: 148.4 kB / 420.6 MB, free: 8.402 MB / 394.7 MB Notification: Performance of SimCode: time 1.884e-06/0.04426, allocations: 0 / 420.6 MB, free: 8.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.07459, allocations: 12.99 MB / 433.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.412, allocations: 6.109 kB / 433.6 MB, free: 11.55 MB / 410.7 MB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 10.87314840964973] Failed to read output from testmodel.py, exit status != 0: 7.500564722344279 7.681523287 7.669917679 Calling exit ...