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.001739/0.001739, allocations: 107.1 kB / 16.45 MB, free: 6.453 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.00213/0.00213, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.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.02901/0.02901, allocations: 3.92 MB / 312.8 MB, free: 0.5117 MB / 238.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: "" <> 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 0.002063/0.002063, allocations: 63.91 kB / 434.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09764, allocations: 54.11 MB / 488.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003937/0.1016, allocations: 2.053 MB / 490.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.1049, allocations: 1.686 MB / 492.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.1052, allocations: 3.938 kB / 492.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1054, allocations: 47.47 kB / 492.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009081/0.1063, allocations: 263 kB / 492.7 MB, free: 4.383 MB / 350.1 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.001002/0.1073, allocations: 379 kB / 493.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.108, allocations: 0.5966 MB / 493.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1082, allocations: 79.59 kB / 493.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.1085, allocations: 231.3 kB / 494 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.1089, allocations: 275 kB / 494.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.109, allocations: 64 kB / 494.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.1097, allocations: 443.4 kB / 494.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.1099, allocations: 139.6 kB / 494.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.1101, allocations: 214.9 kB / 495.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.1111, allocations: 0.7554 MB / 495.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1111, allocations: 7.938 kB / 495.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1111, allocations: 0 / 495.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1111, allocations: 0 / 495.8 MB, free: 1.227 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001397/0.1125, allocations: 0.7187 MB / 496.6 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1125, allocations: 19.92 kB / 496.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1127, allocations: 70.66 kB / 496.6 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.1139, allocations: 164.5 kB / 496.8 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.1147, allocations: 371.2 kB / 497.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.1147, allocations: 37.03 kB / 497.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/0.1148, allocations: 40.33 kB / 497.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.116, allocations: 478.3 kB / 497.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.116, allocations: 3.938 kB / 497.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.1161, allocations: 16 kB / 497.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1161, allocations: 4 kB / 497.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.1177, allocations: 0.5217 MB / 498.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.12, allocations: 1.21 MB / 499.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.1216, allocations: 490.6 kB / 499.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/0.1224, allocations: 265.5 kB / 0.4885 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.1224, allocations: 8.375 kB / 0.4885 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.1225, allocations: 34.94 kB / 0.4885 GB, free: 12.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.796e-06/0.1225, allocations: 0 / 0.4885 GB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002683/0.1252, allocations: 0.8336 MB / 0.4893 GB, free: 11.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.1253, allocations: 55.41 kB / 0.4894 GB, free: 11.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1255, allocations: 229 kB / 0.4896 GB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.1256, allocations: 37.7 kB / 0.4896 GB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1257, allocations: 165.1 kB / 0.4898 GB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.1259, allocations: 182.4 kB / 0.49 GB, free: 11.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.1262, allocations: 110.2 kB / 0.4901 GB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1263, allocations: 346.7 kB / 0.4904 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/0.1271, allocations: 261 kB / 0.4907 GB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/0.1279, allocations: 276.9 kB / 0.4909 GB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.1294, allocations: 0.4979 MB / 0.4914 GB, free: 9.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1294, allocations: 0 / 0.4914 GB, free: 9.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001983/0.1314, allocations: 0.6705 MB / 0.4921 GB, free: 8.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1314, allocations: 8 kB / 0.4921 GB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1314, allocations: 0 / 0.4921 GB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1315, allocations: 4 kB / 0.4921 GB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.1323, allocations: 139.8 kB / 0.4922 GB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1323, allocations: 4 kB / 0.4922 GB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.1327, allocations: 55.64 kB / 0.4923 GB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.1329, allocations: 78.48 kB / 0.4923 GB, free: 8.66 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: 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.0002535/0.1331, allocations: 167.1 kB / 0.4925 GB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1332, allocations: 39.7 kB / 0.4925 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.1353, allocations: 0.6674 MB / 0.4932 GB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1353, allocations: 8 kB / 0.4932 GB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1353, allocations: 0 / 0.4932 GB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1353, allocations: 3.938 kB / 0.4932 GB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.1361, allocations: 0.5755 MB / 0.4938 GB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1361, allocations: 0 / 0.4938 GB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.137, allocations: 119.8 kB / 0.4939 GB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.137, allocations: 4 kB / 0.4939 GB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.1371, allocations: 19.98 kB / 0.4939 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.1371, allocations: 3.984 kB / 0.4939 GB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1371, allocations: 0 / 0.4939 GB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.1399, allocations: 1.049 MB / 0.4949 GB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.14, allocations: 112.8 kB / 0.495 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/0.1401, allocations: 12 kB / 0.4951 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.1405, allocations: 31.95 kB / 0.4951 GB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.1407, allocations: 52.36 kB / 0.4951 GB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.1408, allocations: 75.83 kB / 0.4952 GB, free: 5.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.141, allocations: 160.5 kB / 0.4954 GB, free: 5.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.141, allocations: 0 / 0.4954 GB, free: 5.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007029/0.1417, allocations: 163.6 kB / 0.4955 GB, free: 5.324 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: 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.004217/0.1459, allocations: 1.822 MB / 0.4973 GB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.1478, allocations: 0.5796 MB / 0.4979 GB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1478, allocations: 0 / 0.4979 GB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009027/0.1487, allocations: 310.3 kB / 0.4982 GB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1491, allocations: 31.81 kB / 0.4982 GB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/0.1576, allocations: 4.108 MB / 0.5022 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.1581, allocations: 0.8038 MB / 0.503 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004362/0.1585, allocations: 86.83 kB / 0.5031 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.1589, allocations: 147.3 kB / 0.5032 GB, free: 13.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1589, allocations: 0 / 0.5032 GB, free: 13.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/0.2008, allocations: 10.88 MB / 0.5138 GB, free: 2.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.16/9.361, allocations: 10.41 kB / 0.5138 GB, free: 2.578 MB / 382.1 MB " [Timeout remaining time 651] (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: 15.36329828412272] Failed to read output from testmodel.py, exit status != 0: 9.436761611839756 9.610462414 9.496983838 Calling exit ...