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.00129/0.00129, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001784/0.001784, allocations: 213 kB / 23.04 MB, free: 5.082 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 8 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.03668/0.03668, allocations: 3.944 MB / 317.2 MB, free: 15.34 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.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.TimeBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AdvancedNoise requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 440.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1036, allocations: 54.14 MB / 494.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003313/0.1069, allocations: 2.026 MB / 496.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.1096, allocations: 1.557 MB / 498.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1097, allocations: 7.938 kB / 498.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.1099, allocations: 55.41 kB / 498.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007056/0.1106, allocations: 259 kB / 498.6 MB, free: 1.828 MB / 350.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.0008155/0.1114, allocations: 359.1 kB / 498.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.1122, allocations: 0.659 MB / 499.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1123, allocations: 60.58 kB / 499.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.1127, allocations: 267.2 kB / 499.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.1131, allocations: 287 kB / 0.4885 GB, free: 216 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.429e-05/0.1132, allocations: 64 kB / 0.4885 GB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.1139, allocations: 399.4 kB / 0.4889 GB, free: 15.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.114, allocations: 131.6 kB / 0.489 GB, free: 15.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.1142, allocations: 227 kB / 0.4893 GB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008957/0.1151, allocations: 0.7281 MB / 0.49 GB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1152, allocations: 4 kB / 0.49 GB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1152, allocations: 0 / 0.49 GB, free: 14.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1152, allocations: 4 kB / 0.49 GB, free: 14.67 MB / 366.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.003267/0.1184, allocations: 2.423 MB / 0.4923 GB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1185, allocations: 8.031 kB / 0.4923 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.287e-05/0.1185, allocations: 8.688 kB / 0.4924 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.602e-05/0.1186, allocations: 66.72 kB / 0.4924 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.1199, allocations: 168.5 kB / 0.4926 GB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.1206, allocations: 309.7 kB / 0.4929 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.1207, allocations: 36.88 kB / 0.4929 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/0.1207, allocations: 40.38 kB / 0.4929 GB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.1221, allocations: 0.5751 MB / 0.4935 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1221, allocations: 0 / 0.4935 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.1221, allocations: 12 kB / 0.4935 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1221, allocations: 8 kB / 0.4935 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.1237, allocations: 0.6305 MB / 0.4941 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.1258, allocations: 1.111 MB / 0.4952 GB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1271, allocations: 0.5149 MB / 0.4957 GB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008825/0.128, allocations: 397.8 kB / 0.4961 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.128, allocations: 4.328 kB / 0.4961 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.1292, allocations: 0.7478 MB / 0.4968 GB, free: 7.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 1.954e-06/0.1292, allocations: 0 / 0.4968 GB, free: 7.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003165/0.1324, allocations: 1.387 MB / 0.4982 GB, free: 6.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.1325, allocations: 142.7 kB / 0.4983 GB, free: 5.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1328, allocations: 249.9 kB / 0.4986 GB, free: 5.613 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.1329, allocations: 37.7 kB / 0.4986 GB, free: 5.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.133, allocations: 161.1 kB / 0.4988 GB, free: 5.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1332, allocations: 182.5 kB / 0.4989 GB, free: 5.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.1335, allocations: 118.1 kB / 0.4991 GB, free: 5.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.1337, allocations: 354.7 kB / 0.4994 GB, free: 4.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008631/0.1346, allocations: 345 kB / 0.4997 GB, free: 4.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/0.1354, allocations: 361.1 kB / 0.5001 GB, free: 4.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.1371, allocations: 0.8194 MB / 0.5009 GB, free: 3.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1371, allocations: 0 / 0.5009 GB, free: 3.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002125/0.1393, allocations: 0.925 MB / 0.5018 GB, free: 2.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1394, allocations: 91.38 kB / 0.5019 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1394, allocations: 0 / 0.5019 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.1394, allocations: 7.984 kB / 0.5019 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.1402, allocations: 127.8 kB / 0.502 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1402, allocations: 7.984 kB / 0.502 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.1406, allocations: 75.59 kB / 0.5021 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.1407, allocations: 51.92 kB / 0.5021 GB, free: 1.91 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: 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.0003923/0.1411, allocations: 291 kB / 0.5024 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1412, allocations: 43.77 kB / 0.5024 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.1436, allocations: 1.138 MB / 0.5035 GB, free: 404 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1436, allocations: 4 kB / 0.5035 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1436, allocations: 0 / 0.5035 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1436, allocations: 7.922 kB / 0.5036 GB, free: 392 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.1443, allocations: 0.5629 MB / 0.5041 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.1443, allocations: 4 kB / 0.5041 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/0.145, allocations: 111.8 kB / 0.5042 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.145, allocations: 0 / 0.5042 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.1451, allocations: 31.97 kB / 0.5042 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1451, allocations: 0 / 0.5042 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1451, allocations: 3.938 kB / 0.5043 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.1485, allocations: 1.668 MB / 0.5059 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.1486, allocations: 43.64 kB / 0.5059 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.1487, allocations: 31.98 kB / 0.506 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.1491, allocations: 43.95 kB / 0.506 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.1492, allocations: 63.89 kB / 0.5061 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.1493, allocations: 47.94 kB / 0.5061 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1495, allocations: 173.2 kB / 0.5063 GB, free: 13.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1495, allocations: 0 / 0.5063 GB, free: 13.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005589/0.1501, allocations: 175.7 kB / 0.5064 GB, free: 13.36 MB / 382.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.004519/0.1546, allocations: 2.439 MB / 0.5088 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.157, allocations: 1.013 MB / 0.5098 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.157, allocations: 0 / 0.5098 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.1582, allocations: 0.6394 MB / 0.5104 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1586, allocations: 44.48 kB / 0.5105 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009061/0.1676, allocations: 5.073 MB / 0.5154 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.1681, allocations: 0.8082 MB / 0.5162 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.1685, allocations: 74.94 kB / 0.5163 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.1688, allocations: 139.4 kB / 0.5164 GB, free: 2.961 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1688, allocations: 0 / 0.5164 GB, free: 2.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3088/0.4775, allocations: 12.31 MB / 0.5284 GB, free: 35.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.65, allocations: 9.797 kB / 0.5284 GB, free: 35.62 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.80719586298801] Failed to read output from testmodel.py, exit status != 0: 12.827884647005703 12.850336028 12.732378674 Calling exit ...