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.0009007/0.0009007, 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.0009876/0.0009876, allocations: 169.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.9162/0.9162, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.01459/0.01459, allocations: 3.136 MB / 262.3 MB, free: 10.27 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.473e-06/1.473e-06, allocations: 0 / 385.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.892e-05, allocations: 5.094 kB / 385.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.00247/0.002489, allocations: 1.941 MB / 387.7 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.004767, allocations: 1.612 MB / 389.3 MB, free: 7.473 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.004916, allocations: 7.938 kB / 389.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.005093, allocations: 43.47 kB / 389.3 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006768/0.005769, allocations: 262.8 kB / 389.6 MB, free: 7.164 MB / 314.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.0007921/0.006561, allocations: 402.7 kB / 390 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.007063, allocations: 0.6004 MB / 390.6 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.007231, allocations: 71.75 kB / 390.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.007566, allocations: 323.4 kB / 391 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.007784, allocations: 231.4 kB / 391.2 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.007847, allocations: 67.94 kB / 391.3 MB, free: 5.492 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.008519, allocations: 467 kB / 391.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.008662, allocations: 139.6 kB / 391.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.008783, allocations: 163.5 kB / 392 MB, free: 4.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008759/0.009659, allocations: 0.8182 MB / 392.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.009661, allocations: 0 / 392.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009663, allocations: 0 / 392.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.009669, allocations: 0 / 392.8 MB, free: 3.918 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001099/0.01077, allocations: 0.6511 MB / 393.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.01082, allocations: 8.031 kB / 393.5 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.664e-05/0.01091, allocations: 66.72 kB / 393.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007494/0.01166, allocations: 164.5 kB / 393.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.01211, allocations: 313.1 kB / 394 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.01215, allocations: 37.03 kB / 394.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.01222, allocations: 40.33 kB / 394.1 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.01292, allocations: 474.3 kB / 394.6 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01293, allocations: 4.172 kB / 394.6 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.01296, allocations: 12.36 kB / 394.6 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01297, allocations: 12.12 kB / 394.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008345/0.01381, allocations: 0.5217 MB / 395.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.01517, allocations: 1.029 MB / 396.1 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.01603, allocations: 491.8 kB / 396.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.01644, allocations: 269.4 kB / 396.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.01649, allocations: 12.36 kB / 396.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.01651, allocations: 34.94 kB / 396.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.744e-06/0.01651, allocations: 0 / 396.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001426/0.01794, allocations: 0.8337 MB / 397.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.01797, allocations: 55.41 kB / 397.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.01814, allocations: 229.9 kB / 398 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.01818, allocations: 37.7 kB / 398.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.01825, allocations: 161.1 kB / 398.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.01836, allocations: 174.5 kB / 398.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.01849, allocations: 106.3 kB / 398.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.01858, allocations: 350.7 kB / 398.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.019, allocations: 261.1 kB / 399.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.01942, allocations: 277.7 kB / 399.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.02021, allocations: 0.5033 MB / 399.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02021, allocations: 0 / 399.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001006/0.02122, allocations: 0.6688 MB / 400.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.02124, allocations: 8 kB / 400.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.02124, allocations: 4 kB / 400.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.02126, allocations: 0 / 400.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.02164, allocations: 147.7 kB / 400.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.02165, allocations: 4 kB / 400.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.02181, allocations: 55.69 kB / 400.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.02188, allocations: 68.78 kB / 400.8 MB, free: 11.71 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: 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.0001449/0.02203, allocations: 165.7 kB / 401 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.02208, allocations: 35.77 kB / 401 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.02313, allocations: 0.6805 MB / 401.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.02314, allocations: 4 kB / 401.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.02314, allocations: 0 / 401.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.02315, allocations: 7.984 kB / 401.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.02358, allocations: 468.6 kB / 402.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02358, allocations: 0 / 402.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.02395, allocations: 115.8 kB / 402.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.02395, allocations: 4 kB / 402.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.02399, allocations: 19.92 kB / 402.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.02399, allocations: 4 kB / 402.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.02399, allocations: 3.984 kB / 402.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.02545, allocations: 1.055 MB / 403.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.02548, allocations: 31.75 kB / 403.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.02552, allocations: 8 kB / 403.4 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.02569, allocations: 31.95 kB / 403.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.02582, allocations: 56.41 kB / 403.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.02589, allocations: 63.89 kB / 403.6 MB, free: 8.898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.02601, allocations: 161.2 kB / 403.7 MB, free: 8.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02601, allocations: 0 / 403.7 MB, free: 8.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.02646, allocations: 171.6 kB / 403.9 MB, free: 8.57 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: 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.002164/0.02862, allocations: 1.871 MB / 405.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.02957, allocations: 0.5772 MB / 406.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02957, allocations: 0 / 406.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.03002, allocations: 306.7 kB / 406.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.03026, allocations: 28.5 kB / 406.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/0.03469, allocations: 4.091 MB / 410.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.03482, allocations: 194.1 kB / 411 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.03507, allocations: 98.78 kB / 411 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.03529, allocations: 148.4 kB / 411.2 MB, free: 1.203 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03529, allocations: 0 / 411.2 MB, free: 1.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/0.1922, allocations: 11.86 MB / 423.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.499, allocations: 1.062 kB / 423.1 MB, free: 34.38 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations_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_SignalBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.35309013724327] Failed to read output from testmodel.py, exit status != 0: 7.5856510400772095 7.592667631 7.581624751 Calling exit ...