Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.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.0008027/0.0008027, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008107/0.0008107, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8676/0.8676, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.01437/0.01437, allocations: 3.144 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.SignalBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 385.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.958e-06/1.11e-05, allocations: 6.219 kB / 385.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.001894/0.001905, allocations: 1.952 MB / 387.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.003833, allocations: 1.612 MB / 389.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.003937, allocations: 7.938 kB / 389.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.004079, allocations: 39.48 kB / 389.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.004596, allocations: 270.8 kB / 389.6 MB, free: 8.316 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.convertRealToIntegers'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.005161, allocations: 390.7 kB / 390 MB, free: 7.934 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.005559, allocations: 0.6082 MB / 390.6 MB, free: 7.324 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.005691, allocations: 71.86 kB / 390.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.005934, allocations: 323.4 kB / 391 MB, free: 6.938 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.006114, allocations: 227.4 kB / 391.2 MB, free: 6.715 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.00617, allocations: 64 kB / 391.3 MB, free: 6.652 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004776/0.006647, allocations: 471 kB / 391.7 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.006745, allocations: 135.6 kB / 391.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.006852, allocations: 155.5 kB / 392 MB, free: 5.906 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006946/0.007546, allocations: 0.826 MB / 392.8 MB, free: 5.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.007549, allocations: 0 / 392.8 MB, free: 5.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007549, allocations: 0 / 392.8 MB, free: 5.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.007554, allocations: 3.938 kB / 392.8 MB, free: 5.074 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008328/0.008387, allocations: 0.655 MB / 393.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.008422, allocations: 8.031 kB / 393.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.438e-05/0.008487, allocations: 70.72 kB / 393.6 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.009113, allocations: 162.8 kB / 393.7 MB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.009517, allocations: 317.1 kB / 394 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.009553, allocations: 29.03 kB / 394.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.009612, allocations: 44.33 kB / 394.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.01026, allocations: 474.3 kB / 394.6 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01028, allocations: 4.188 kB / 394.6 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01031, allocations: 8.375 kB / 394.6 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.01032, allocations: 16.12 kB / 394.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.0111, allocations: 0.5178 MB / 395.1 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.01258, allocations: 1.033 MB / 396.2 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.01338, allocations: 498.7 kB / 396.7 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.01375, allocations: 261.5 kB / 396.9 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.01379, allocations: 8.375 kB / 396.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.01381, allocations: 42.94 kB / 397 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.453e-06/0.01381, allocations: 0 / 397 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001299/0.01511, allocations: 0.8298 MB / 397.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.01514, allocations: 59.41 kB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.01529, allocations: 229.9 kB / 398.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.01533, allocations: 33.7 kB / 398.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.01539, allocations: 165.1 kB / 398.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.01549, allocations: 166.5 kB / 398.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01561, allocations: 114.3 kB / 398.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.01571, allocations: 342.8 kB / 398.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.01611, allocations: 269.1 kB / 399.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.01654, allocations: 269.7 kB / 399.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/0.01737, allocations: 0.5072 MB / 399.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01737, allocations: 0 / 399.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009972/0.01837, allocations: 0.6844 MB / 400.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01838, allocations: 8 kB / 400.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01839, allocations: 0 / 400.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.0184, allocations: 0 / 400.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.01885, allocations: 143.8 kB / 400.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01886, allocations: 8 kB / 400.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.01901, allocations: 51.7 kB / 400.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.01909, allocations: 71.83 kB / 400.9 MB, free: 12.85 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: 6 (globalSeed.seed,noise2.actualGlobalSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * 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.000143/0.01923, allocations: 157.7 kB / 401 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.01928, allocations: 31.81 kB / 401.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.0203, allocations: 0.6844 MB / 401.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.0203, allocations: 4 kB / 401.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.02031, allocations: 0 / 401.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.02031, allocations: 3.984 kB / 401.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.02071, allocations: 464.7 kB / 402.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.02071, allocations: 3.984 kB / 402.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.02107, allocations: 123.8 kB / 402.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.02107, allocations: 4 kB / 402.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.0211, allocations: 19.97 kB / 402.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.02111, allocations: 4 kB / 402.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02111, allocations: 0 / 402.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.02282, allocations: 1.047 MB / 403.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.02286, allocations: 31.75 kB / 403.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.02291, allocations: 16.17 kB / 403.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.02307, allocations: 31.97 kB / 403.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.02318, allocations: 60.33 kB / 403.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/0.02325, allocations: 63.89 kB / 403.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.02336, allocations: 161.2 kB / 403.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02336, allocations: 0 / 403.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.02383, allocations: 171.6 kB / 403.9 MB, free: 9.723 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: 2 (noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0021/0.02593, allocations: 1.864 MB / 405.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009196/0.02685, allocations: 0.585 MB / 406.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02685, allocations: 8 kB / 406.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.02729, allocations: 302.7 kB / 406.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.02753, allocations: 24.5 kB / 406.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.03207, allocations: 4.083 MB / 410.8 MB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.03219, allocations: 194.1 kB / 411 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.03243, allocations: 90.81 kB / 411.1 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.03263, allocations: 140.4 kB / 411.2 MB, free: 2.371 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03263, allocations: 4 kB / 411.2 MB, free: 2.367 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.05485, allocations: 11.88 MB / 423.1 MB, free: 6.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.212, allocations: 0 / 423.1 MB, free: 6.602 MB / 394.7 MB " [Timeout remaining time 653] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.181229469366372] Failed to read output from testmodel.py, exit status != 0: 7.297694884240627 7.306793295 7.297530201 Calling exit ...