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.0007492/0.0007492, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000788/0.000788, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8674/0.8674, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.01433/0.01433, allocations: 3.143 MB / 262.3 MB, free: 10.28 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.563e-06/1.563e-06, allocations: 0 / 385.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.561e-05, allocations: 6.281 kB / 385.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.001993/0.002009, allocations: 1.905 MB / 387.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.003723, allocations: 1.479 MB / 389.1 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.003841, allocations: 7.938 kB / 389.1 MB, free: 7.641 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.003987, allocations: 51.41 kB / 389.2 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.004533, allocations: 270.8 kB / 389.4 MB, free: 7.324 MB / 314.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.000524/0.005057, allocations: 362.9 kB / 389.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.005541, allocations: 0.6511 MB / 390.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.00568, allocations: 54.39 kB / 390.5 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.006009, allocations: 363.2 kB / 390.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.006224, allocations: 235.4 kB / 391.1 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.006285, allocations: 64 kB / 391.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.006713, allocations: 379.3 kB / 391.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.006808, allocations: 131.6 kB / 391.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.007046, allocations: 171.6 kB / 391.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.007673, allocations: 0.7948 MB / 392.6 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007675, allocations: 0 / 392.6 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007676, allocations: 0 / 392.6 MB, free: 4.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.007682, allocations: 0 / 392.6 MB, free: 4.148 MB / 314.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.001966/0.009648, allocations: 2.374 MB / 395 MB, free: 1.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.009688, allocations: 15.97 kB / 395 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.125e-05/0.009769, allocations: 62.73 kB / 395.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.01047, allocations: 168.5 kB / 395.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.0109, allocations: 320.9 kB / 395.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.01094, allocations: 32.88 kB / 395.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.011, allocations: 36.38 kB / 395.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.01179, allocations: 0.6568 MB / 396.3 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.0118, allocations: 192 / 396.3 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.01183, allocations: 12.31 kB / 396.3 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.01184, allocations: 8.125 kB / 396.3 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009177/0.01276, allocations: 0.7159 MB / 397 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.01396, allocations: 0.9628 MB / 398 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.01478, allocations: 0.5925 MB / 398.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.01542, allocations: 473.3 kB / 399 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.01546, allocations: 12.27 kB / 399 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007211/0.01618, allocations: 0.8174 MB / 399.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 1.714e-06/0.01618, allocations: 0 / 399.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.001788/0.01797, allocations: 1.546 MB / 401.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.01803, allocations: 126.8 kB / 401.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.01821, allocations: 253.9 kB / 401.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.01825, allocations: 37.7 kB / 401.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.01832, allocations: 153.2 kB / 401.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.01842, allocations: 190.4 kB / 402.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.01856, allocations: 118.1 kB / 402.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.01865, allocations: 350.8 kB / 402.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.01915, allocations: 432.3 kB / 403 MB, free: 9.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.01964, allocations: 440.5 kB / 403.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.02059, allocations: 0.835 MB / 404.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02059, allocations: 0 / 404.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00114/0.02173, allocations: 1.014 MB / 405.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.02179, allocations: 87.38 kB / 405.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.0218, allocations: 0 / 405.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.02181, allocations: 0 / 405.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.02218, allocations: 131.8 kB / 405.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.02219, allocations: 8 kB / 405.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.02237, allocations: 67.58 kB / 405.6 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.02244, allocations: 55.88 kB / 405.6 MB, free: 6.668 MB / 330.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.0004904/0.02293, allocations: 279 kB / 405.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.02299, allocations: 47.7 kB / 406 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.02438, allocations: 1.2 MB / 407.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.02438, allocations: 4 kB / 407.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.02439, allocations: 0 / 407.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.02439, allocations: 3.984 kB / 407.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.02479, allocations: 468.7 kB / 407.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.02479, allocations: 3.938 kB / 407.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.02514, allocations: 111.8 kB / 407.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.02515, allocations: 0 / 407.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.02519, allocations: 35.97 kB / 407.8 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.0252, allocations: 3.938 kB / 407.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0252, allocations: 0 / 407.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.02718, allocations: 1.82 MB / 409.6 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.02722, allocations: 51.56 kB / 409.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.02728, allocations: 27.98 kB / 409.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.02746, allocations: 35.97 kB / 409.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.02758, allocations: 63.89 kB / 409.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.02764, allocations: 55.92 kB / 409.8 MB, free: 2.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.02774, allocations: 173.2 kB / 410 MB, free: 2.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02774, allocations: 0 / 410 MB, free: 2.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.02812, allocations: 171.8 kB / 410.2 MB, free: 1.984 MB / 330.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.1325/0.1607, allocations: 2.611 MB / 412.8 MB, free: 37.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.1621, allocations: 1.179 MB / 413.9 MB, free: 37.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1621, allocations: 0 / 413.9 MB, free: 37.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.1628, allocations: 0.6922 MB / 414.6 MB, free: 37.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1631, allocations: 47.48 kB / 414.7 MB, free: 37.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.1682, allocations: 5.511 MB / 420.2 MB, free: 34.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.1683, allocations: 202.5 kB / 420.4 MB, free: 34.08 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.1685, allocations: 75.58 kB / 420.5 MB, free: 34.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.1687, allocations: 141.6 kB / 420.6 MB, free: 33.97 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1687, allocations: 0 / 420.6 MB, free: 33.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.1915, allocations: 13 MB / 433.6 MB, free: 27.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.289, allocations: 5.5 kB / 433.6 MB, free: 27.67 MB / 330.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 & /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: 9.290993339382112] Failed to read output from testmodel.py, exit status != 0: 7.375302091240883 7.384507987 7.375336374 Calling exit ...