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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02688/0.02688, allocations: 3.935 MB / 306.6 MB, free: 6.051 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.002009/0.002009, allocations: 63.91 kB / 426.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1301, allocations: 52.92 MB / 479 MB, free: 428 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003871/0.134, allocations: 1.994 MB / 481 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.1373, allocations: 1.53 MB / 482.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.1375, allocations: 4 kB / 482.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.1378, allocations: 59.41 kB / 482.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.1386, allocations: 251 kB / 482.8 MB, free: 12.57 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0009674/0.1396, allocations: 351.1 kB / 483.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.1404, allocations: 0.6201 MB / 483.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1406, allocations: 76.72 kB / 483.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.141, allocations: 259.2 kB / 484.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.1413, allocations: 275 kB / 484.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1414, allocations: 67.94 kB / 484.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.1422, allocations: 363.5 kB / 484.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1424, allocations: 131.6 kB / 484.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.1427, allocations: 235 kB / 485.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1439, allocations: 0.7125 MB / 485.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1439, allocations: 0 / 485.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1439, allocations: 0 / 485.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1439, allocations: 0 / 485.9 MB, free: 9.504 MB / 350.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.003781/0.1477, allocations: 2.488 MB / 488.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.1478, allocations: 8.031 kB / 488.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.1479, allocations: 70.72 kB / 488.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.1495, allocations: 168.5 kB / 488.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/0.1504, allocations: 372.1 kB / 488.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/0.1504, allocations: 40.88 kB / 489 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1505, allocations: 40.38 kB / 489 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.1518, allocations: 0.568 MB / 489.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1518, allocations: 3.938 kB / 489.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.1519, allocations: 12 kB / 489.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1519, allocations: 4 kB / 489.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.1535, allocations: 0.6346 MB / 490.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.1559, allocations: 1.139 MB / 491.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.1572, allocations: 0.5148 MB / 491.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008605/0.1581, allocations: 397.8 kB / 492.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-05/0.1582, allocations: 12.31 kB / 492.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.1595, allocations: 0.7512 MB / 493.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 3.266e-06/0.1595, allocations: 0 / 493.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003133/0.1626, allocations: 1.385 MB / 494.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.1627, allocations: 134.8 kB / 494.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1631, allocations: 254.5 kB / 494.8 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.1632, allocations: 37.7 kB / 494.9 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1633, allocations: 157.2 kB / 495 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.1635, allocations: 178.5 kB / 495.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.1637, allocations: 126.2 kB / 495.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1639, allocations: 354.7 kB / 495.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/0.1648, allocations: 349 kB / 496 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.1656, allocations: 357.3 kB / 496.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.1674, allocations: 0.8275 MB / 497.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1674, allocations: 0 / 497.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002148/0.1696, allocations: 0.9215 MB / 498.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.1697, allocations: 95.36 kB / 498.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1697, allocations: 0 / 498.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.1697, allocations: 4 kB / 498.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.1705, allocations: 139.8 kB / 498.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1705, allocations: 0 / 498.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.171, allocations: 67.64 kB / 498.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.1711, allocations: 51.92 kB / 498.4 MB, free: 12.55 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.0004768/0.1716, allocations: 299.8 kB / 498.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1717, allocations: 43.77 kB / 498.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.1743, allocations: 1.135 MB / 499.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1743, allocations: 4 kB / 499.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1743, allocations: 0 / 499.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.1744, allocations: 3.984 kB / 499.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/0.1752, allocations: 0.5873 MB / 0.4888 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1752, allocations: 4 kB / 0.4888 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/0.1759, allocations: 111.8 kB / 0.4889 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.1759, allocations: 0 / 0.4889 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/0.176, allocations: 31.97 kB / 0.4889 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.176, allocations: 3.938 kB / 0.4889 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.176, allocations: 0 / 0.4889 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/0.1799, allocations: 1.669 MB / 0.4906 GB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.1801, allocations: 120.8 kB / 0.4907 GB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.1802, allocations: 31.98 kB / 0.4907 GB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.1806, allocations: 39.95 kB / 0.4907 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.1808, allocations: 59.92 kB / 0.4908 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.1809, allocations: 51.92 kB / 0.4908 GB, free: 8.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002996/0.1812, allocations: 174 kB / 0.491 GB, free: 8.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1812, allocations: 96 / 0.491 GB, free: 8.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007706/0.182, allocations: 179.8 kB / 0.4912 GB, free: 7.879 MB / 366.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.005262/0.1873, allocations: 2.422 MB / 0.4935 GB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.1899, allocations: 1.021 MB / 0.4945 GB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1899, allocations: 0 / 0.4945 GB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.1912, allocations: 0.6318 MB / 0.4952 GB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.1917, allocations: 47 kB / 0.4952 GB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.2023, allocations: 5.078 MB / 0.5002 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.2031, allocations: 0.8082 MB / 0.501 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004629/0.2035, allocations: 66.95 kB / 0.501 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.2039, allocations: 143.4 kB / 0.5012 GB, free: 13.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.2039, allocations: 0 / 0.5012 GB, free: 13.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.2581, allocations: 11.75 MB / 0.5126 GB, free: 1.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.774/10.03, allocations: 2.656 kB / 0.5126 GB, free: 1.867 MB / 382.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.780208630952984] Failed to read output from testmodel.py, exit status != 0: 10.107682961039245 10.347691106 10.201184812 Calling exit ...