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.001376/0.001376, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001486/0.001486, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.02653/0.02653, allocations: 3.158 MB / 262.3 MB, free: 13.69 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 1.703e-06/1.703e-06, allocations: 0 / 386.2 MB, free: 292 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.17e-05, allocations: 9.172 kB / 386.2 MB, free: 284 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.00324/0.003271, allocations: 1.906 MB / 388.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.00604, allocations: 1.472 MB / 389.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.006157, allocations: 3.938 kB / 389.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.006341, allocations: 55.41 kB / 389.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007999/0.007141, allocations: 278.7 kB / 389.9 MB, free: 12.55 MB / 318.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.0008179/0.007959, allocations: 374.8 kB / 390.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006957/0.008655, allocations: 0.6472 MB / 390.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.00881, allocations: 54.39 kB / 391 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.009248, allocations: 355.3 kB / 391.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.009567, allocations: 227.5 kB / 391.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.009672, allocations: 64 kB / 391.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006557/0.01033, allocations: 395.2 kB / 392 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.0105, allocations: 127.6 kB / 392.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.01071, allocations: 171.5 kB / 392.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009693/0.01168, allocations: 0.7871 MB / 393.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01168, allocations: 3.938 kB / 393.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01168, allocations: 0 / 393.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.01169, allocations: 0 / 393.1 MB, free: 9.371 MB / 318.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.003201/0.01489, allocations: 2.385 MB / 395.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.01493, allocations: 8.031 kB / 395.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.01629, allocations: 164.5 kB / 395.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.01699, allocations: 308.9 kB / 396 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.01706, allocations: 40.88 kB / 396 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.626e-05/0.01715, allocations: 36.38 kB / 396 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.01855, allocations: 0.6606 MB / 396.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01856, allocations: 192 / 396.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.01862, allocations: 12.38 kB / 396.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01863, allocations: 8.375 kB / 396.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.02034, allocations: 0.7081 MB / 397.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.02234, allocations: 0.9281 MB / 398.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.02375, allocations: 0.5848 MB / 398.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009689/0.02472, allocations: 477.3 kB / 399.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.02477, allocations: 12.27 kB / 399.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.02611, allocations: 0.8213 MB / 400.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=57): time 2.034e-06/0.02611, allocations: 0 / 400.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.003383/0.02949, allocations: 1.542 MB / 401.8 MB, free: 432 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.0296, allocations: 122.8 kB / 401.9 MB, free: 284 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.02989, allocations: 253.9 kB / 402.1 MB, free: 20 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.03, allocations: 45.58 kB / 402.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.03013, allocations: 157.1 kB / 402.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.03032, allocations: 182.5 kB / 402.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.03056, allocations: 122.1 kB / 402.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.03078, allocations: 346.8 kB / 403 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009724/0.03175, allocations: 440.3 kB / 403.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009737/0.03273, allocations: 436.5 kB / 403.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.03458, allocations: 0.8311 MB / 404.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.03458, allocations: 0 / 404.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002198/0.03678, allocations: 1.006 MB / 405.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.0369, allocations: 87.31 kB / 405.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.03691, allocations: 0 / 405.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/0.03695, allocations: 7.984 kB / 405.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.03779, allocations: 127.8 kB / 405.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.03781, allocations: 4 kB / 405.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.0383, allocations: 71.64 kB / 406 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.03843, allocations: 55.91 kB / 406 MB, free: 12.02 MB / 334.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.0004241/0.03886, allocations: 279.1 kB / 406.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.03899, allocations: 47.7 kB / 406.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.04154, allocations: 1.204 MB / 407.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.04155, allocations: 4 kB / 407.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.04155, allocations: 0 / 407.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.04156, allocations: 3.938 kB / 407.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.04215, allocations: 425.2 kB / 408 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.04215, allocations: 4 kB / 408 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.04291, allocations: 103.8 kB / 408.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.04291, allocations: 4 kB / 408.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.04299, allocations: 35.91 kB / 408.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.04299, allocations: 4 kB / 408.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.04299, allocations: 0 / 408.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.04663, allocations: 1.831 MB / 409.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.04668, allocations: 35.64 kB / 410 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.0468, allocations: 35.92 kB / 410 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.04719, allocations: 39.95 kB / 410.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.04739, allocations: 63.91 kB / 410.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.0475, allocations: 51.92 kB / 410.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.04767, allocations: 169.2 kB / 410.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04767, allocations: 4 kB / 410.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005615/0.04823, allocations: 167.8 kB / 410.5 MB, free: 7.395 MB / 334.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.0008111/0.04904, allocations: 342.7 kB / 410.8 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.05147, allocations: 1.187 MB / 412 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.05147, allocations: 0 / 412 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.05272, allocations: 0.6975 MB / 412.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.05306, allocations: 47.3 kB / 412.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.05536, allocations: 1.145 MB / 413.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.05557, allocations: 200 kB / 414.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.05601, allocations: 70.94 kB / 414.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.05621, allocations: 48.47 kB / 414.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.05621, allocations: 4 kB / 414.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of Templates: time 0.01617/0.07238, allocations: 8.257 MB / 422.5 MB, free: 11.38 MB / 350.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: 5.024444591253996] Failed to read output from testmodel.py, exit status != 0: 0.08091870322823524 0.096416663 0.081567662 Calling exit ...