Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.001515/0.001515, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001682/0.001682, allocations: 217.6 kB / 23.01 MB, free: 4.566 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.05628/0.05628, allocations: 3.938 MB / 317.1 MB, free: 15.36 MB / 254.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: translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.91 kB / 441 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.101, allocations: 54.14 MB / 495.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002785/0.1038, allocations: 1.542 MB / 496.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1059, allocations: 1.227 MB / 497.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.106, allocations: 7.938 kB / 497.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1062, allocations: 35.66 kB / 498 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.509e-05/0.1062, allocations: 27.73 kB / 498 MB, free: 2.41 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.0007472/0.107, allocations: 247.2 kB / 498.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.1073, allocations: 279.4 kB / 498.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.1074, allocations: 5.75 kB / 498.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1076, allocations: 115.6 kB / 498.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1077, allocations: 79.67 kB / 498.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.1077, allocations: 12 kB / 498.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.1081, allocations: 215.6 kB / 498.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1081, allocations: 27.86 kB / 498.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.1082, allocations: 79.55 kB / 499 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1087, allocations: 291 kB / 499.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1087, allocations: 0 / 499.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1087, allocations: 0 / 499.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1087, allocations: 4 kB / 499.3 MB, free: 1.078 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002509/0.1112, allocations: 2.205 MB / 0.4898 GB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1112, allocations: 8.031 kB / 0.4898 GB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006501/0.1119, allocations: 108.7 kB / 0.4899 GB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1122, allocations: 190.1 kB / 0.4901 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1122, allocations: 12.38 kB / 0.4901 GB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1122, allocations: 12.38 kB / 0.4901 GB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.1126, allocations: 258 kB / 0.4903 GB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1126, allocations: 0 / 0.4903 GB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1127, allocations: 4 kB / 0.4903 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1127, allocations: 0 / 0.4903 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.1131, allocations: 227.8 kB / 0.4905 GB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.1133, allocations: 221.5 kB / 0.4908 GB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1137, allocations: 221.1 kB / 0.491 GB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.1139, allocations: 193.6 kB / 0.4912 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.1139, allocations: 4 kB / 0.4912 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005499/0.1145, allocations: 0.5202 MB / 0.4917 GB, free: 12.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.072e-06/0.1145, allocations: 0 / 0.4917 GB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001168/0.1157, allocations: 0.7707 MB / 0.4924 GB, free: 11.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1158, allocations: 160.5 kB / 0.4926 GB, free: 11.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.116, allocations: 211.1 kB / 0.4928 GB, free: 11.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.116, allocations: 29.7 kB / 0.4928 GB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1161, allocations: 112.6 kB / 0.4929 GB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.1161, allocations: 55.52 kB / 0.493 GB, free: 11.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.1162, allocations: 57.69 kB / 0.493 GB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1163, allocations: 326.8 kB / 0.4933 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1166, allocations: 140.2 kB / 0.4935 GB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.1168, allocations: 144.3 kB / 0.4936 GB, free: 10.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.1174, allocations: 469.3 kB / 0.494 GB, free: 10.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1174, allocations: 3.938 kB / 0.4941 GB, free: 10.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006236/0.118, allocations: 459.4 kB / 0.4945 GB, free: 9.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.397e-05/0.1181, allocations: 91.36 kB / 0.4946 GB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1181, allocations: 4 kB / 0.4946 GB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1181, allocations: 4 kB / 0.4946 GB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1182, allocations: 15.98 kB / 0.4946 GB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1182, allocations: 3.938 kB / 0.4946 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.474e-05/0.1183, allocations: 27.89 kB / 0.4946 GB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.1184, allocations: 39.88 kB / 0.4947 GB, free: 9.508 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,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0002323/0.1186, allocations: 251.8 kB / 0.4949 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.1187, allocations: 31.91 kB / 0.4949 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.1187, allocations: 17.39 kB / 0.495 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1187, allocations: 0 / 0.495 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1187, allocations: 0 / 0.495 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.1187, allocations: 0 / 0.495 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.1189, allocations: 252.4 kB / 0.4952 GB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1189, allocations: 0 / 0.4952 GB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.119, allocations: 11.98 kB / 0.4952 GB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.119, allocations: 0 / 0.4952 GB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.119, allocations: 8 kB / 0.4952 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.119, allocations: 0 / 0.4952 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.119, allocations: 8 kB / 0.4952 GB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.12, allocations: 0.7039 MB / 0.4959 GB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1201, allocations: 59.75 kB / 0.496 GB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.1202, allocations: 27.92 kB / 0.496 GB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.1203, allocations: 12 kB / 0.496 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.1203, allocations: 27.91 kB / 0.496 GB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.1204, allocations: 39.94 kB / 0.4961 GB, free: 7.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1205, allocations: 148.6 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1205, allocations: 0 / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1209, allocations: 79.92 kB / 0.4963 GB, free: 7.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0005623/0.1214, allocations: 262.1 kB / 0.4965 GB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008127/0.1222, allocations: 0.5746 MB / 0.4971 GB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1222, allocations: 0 / 0.4971 GB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.1227, allocations: 410.6 kB / 0.4975 GB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.123, allocations: 23.98 kB / 0.4975 GB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/0.1238, allocations: 0.5413 MB / 0.498 GB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1241, allocations: 0.7353 MB / 0.4988 GB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.1241, allocations: 23.42 kB / 0.4988 GB, free: 5.121 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1241, allocations: 0 / 0.4988 GB, free: 5.121 MB / 366.1 MB Notification: Performance of Templates: time 0.006185/0.1303, allocations: 3.708 MB / 0.5024 GB, free: 1.438 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.777579213958234] Failed to read output from testmodel.py, exit status != 0: 0.13729080511257052 0.151516841 0.039985348000000004 Calling exit ...