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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 108.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02687/0.02687, allocations: 3.953 MB / 306.6 MB, free: 6.039 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.002751/0.002751, allocations: 64.12 kB / 426.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.145, allocations: 52.93 MB / 479 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.004009/0.1491, allocations: 2.04 MB / 481 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.1526, allocations: 1.678 MB / 482.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.1528, allocations: 0 / 482.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.1531, allocations: 51.47 kB / 482.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008863/0.1539, allocations: 251 kB / 483 MB, free: 12.39 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.0.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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.001311/0.1553, allocations: 390.9 kB / 483.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008377/0.1561, allocations: 0.5966 MB / 484 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.1563, allocations: 71.62 kB / 484 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.1567, allocations: 235.2 kB / 484.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.1571, allocations: 279 kB / 484.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1572, allocations: 64 kB / 484.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/0.1582, allocations: 439.4 kB / 485 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.1584, allocations: 135.6 kB / 485.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.1586, allocations: 215 kB / 485.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.16, allocations: 0.7554 MB / 486.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.16, allocations: 0 / 486.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.16, allocations: 0 / 486.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.16, allocations: 0 / 486.1 MB, free: 9.234 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.001663/0.1617, allocations: 0.7225 MB / 486.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1617, allocations: 12.03 kB / 486.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.1618, allocations: 70.72 kB / 486.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1632, allocations: 164.4 kB / 487.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.164, allocations: 379.2 kB / 487.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.1641, allocations: 41.03 kB / 487.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.1642, allocations: 40.33 kB / 487.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.1654, allocations: 470.3 kB / 488 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1654, allocations: 3.938 kB / 488 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.1655, allocations: 12 kB / 488 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1655, allocations: 8 kB / 488 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.1669, allocations: 0.5139 MB / 488.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.1694, allocations: 1.21 MB / 489.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.1709, allocations: 483.7 kB / 490.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.1716, allocations: 269.5 kB / 490.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.1717, allocations: 12.3 kB / 490.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.1717, allocations: 38.94 kB / 490.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.056e-06/0.1717, allocations: 0 / 490.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002518/0.1743, allocations: 0.8298 MB / 491.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.1743, allocations: 55.41 kB / 491.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.1747, allocations: 233 kB / 491.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.1747, allocations: 37.7 kB / 491.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1749, allocations: 161 kB / 491.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.175, allocations: 170.6 kB / 492 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.1753, allocations: 106.2 kB / 492.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1755, allocations: 346.7 kB / 492.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007221/0.1762, allocations: 265 kB / 492.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/0.1769, allocations: 276.8 kB / 493 MB, free: 2.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.1783, allocations: 0.5018 MB / 493.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1783, allocations: 0 / 493.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001786/0.1801, allocations: 0.6744 MB / 494.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.1802, allocations: 8 kB / 494.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1802, allocations: 0 / 494.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.1802, allocations: 0 / 494.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/0.181, allocations: 151.7 kB / 494.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.1811, allocations: 11.98 kB / 494.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.1815, allocations: 59.58 kB / 494.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.1816, allocations: 67.89 kB / 494.5 MB, free: 0.6719 MB / 350.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.0002994/0.1819, allocations: 165.1 kB / 494.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.182, allocations: 35.78 kB / 494.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.184, allocations: 0.6674 MB / 495.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.184, allocations: 8 kB / 495.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.184, allocations: 4 kB / 495.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.184, allocations: 3.938 kB / 495.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/0.1848, allocations: 0.5677 MB / 495.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.1848, allocations: 7.984 kB / 495.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.1856, allocations: 119.8 kB / 496 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.1856, allocations: 4 kB / 496 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.1857, allocations: 23.92 kB / 496.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1857, allocations: 0 / 496.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1857, allocations: 0 / 496.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.1883, allocations: 1.042 MB / 497.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1884, allocations: 116.8 kB / 497.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.1885, allocations: 12 kB / 497.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.1888, allocations: 27.95 kB / 497.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.189, allocations: 52.45 kB / 497.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.1891, allocations: 74.27 kB / 497.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.1893, allocations: 164.5 kB / 497.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1893, allocations: 4 kB / 497.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006767/0.19, allocations: 163.6 kB / 497.7 MB, free: 13.34 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.003924/0.1939, allocations: 1.81 MB / 499.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.1957, allocations: 0.5913 MB / 0.4884 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1957, allocations: 0 / 0.4884 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.1965, allocations: 306.3 kB / 0.4887 GB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.1969, allocations: 28.38 kB / 0.4887 GB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/0.2055, allocations: 4.104 MB / 0.4927 GB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.2061, allocations: 0.7997 MB / 0.4935 GB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.2066, allocations: 90.88 kB / 0.4936 GB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.2069, allocations: 139.3 kB / 0.4937 GB, free: 5.395 MB / 366.1 MB Notification: Performance of SimCode: time 1.372e-06/0.2069, allocations: 0 / 0.4937 GB, free: 5.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/0.2546, allocations: 10.83 MB / 0.5043 GB, free: 10.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.606/9.86, allocations: 12.41 kB / 0.5043 GB, free: 10.66 MB / 382.1 MB " [Timeout remaining time 650] (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: 14.672660674899817] Failed to read output from testmodel.py, exit status != 0: 9.93766339123249 10.182535714 10.018843805 Calling exit ...