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.001439/0.001439, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001439/0.001439, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.557/1.557, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.02827/0.02827, allocations: 3.154 MB / 262.9 MB, free: 13.66 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.002433/0.002433, allocations: 67.84 kB / 386.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1074, allocations: 54.11 MB / 440.9 MB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.003147/0.1105, allocations: 1.513 MB / 442.4 MB, free: 9.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1129, allocations: 1.145 MB / 443.5 MB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.113, allocations: 3.938 kB / 443.5 MB, free: 8.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.1131, allocations: 35.67 kB / 443.5 MB, free: 8.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.1132, allocations: 31.78 kB / 443.6 MB, free: 8.566 MB / 414.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.0009354/0.1142, allocations: 255.2 kB / 443.8 MB, free: 8.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.1145, allocations: 271.4 kB / 444.1 MB, free: 8.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1146, allocations: 9.797 kB / 444.1 MB, free: 8.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.1148, allocations: 107.7 kB / 444.2 MB, free: 7.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1149, allocations: 71.67 kB / 444.3 MB, free: 7.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.1149, allocations: 12 kB / 444.3 MB, free: 7.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.1153, allocations: 211.6 kB / 444.5 MB, free: 7.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.1154, allocations: 19.88 kB / 444.5 MB, free: 7.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.1155, allocations: 67.64 kB / 444.6 MB, free: 7.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.1159, allocations: 299 kB / 444.9 MB, free: 7.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1159, allocations: 3.938 kB / 444.9 MB, free: 7.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1159, allocations: 0 / 444.9 MB, free: 7.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1159, allocations: 0 / 444.9 MB, free: 7.262 MB / 414.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.002624/0.1185, allocations: 2.151 MB / 447 MB, free: 5.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1186, allocations: 8.031 kB / 447 MB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007326/0.1193, allocations: 108.7 kB / 447.1 MB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1196, allocations: 186.2 kB / 447.3 MB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1197, allocations: 12.38 kB / 447.3 MB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1197, allocations: 16.3 kB / 447.4 MB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.1202, allocations: 342.4 kB / 447.7 MB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1202, allocations: 3.938 kB / 447.7 MB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.1202, allocations: 4 kB / 447.7 MB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1203, allocations: 4 kB / 447.7 MB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.1208, allocations: 303.2 kB / 448 MB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.1211, allocations: 178 kB / 448.2 MB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.1215, allocations: 292.5 kB / 448.5 MB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.1219, allocations: 273.4 kB / 448.7 MB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1219, allocations: 4 kB / 448.7 MB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007288/0.1227, allocations: 0.5873 MB / 449.3 MB, free: 2.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.542e-06/0.1227, allocations: 8 kB / 449.3 MB, free: 2.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001519/0.1242, allocations: 0.9257 MB / 450.2 MB, free: 1.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.1243, allocations: 148.5 kB / 450.4 MB, free: 1.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.1246, allocations: 215.1 kB / 450.6 MB, free: 1.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.1246, allocations: 29.7 kB / 450.6 MB, free: 1.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1247, allocations: 116.6 kB / 450.7 MB, free: 1.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.1248, allocations: 47.64 kB / 450.8 MB, free: 1.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1249, allocations: 57.69 kB / 450.8 MB, free: 0.9414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1251, allocations: 334.9 kB / 451.2 MB, free: 0.6055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.1254, allocations: 219.5 kB / 451.4 MB, free: 384 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1257, allocations: 231.7 kB / 451.6 MB, free: 140 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.1264, allocations: 464.7 kB / 452.1 MB, free: 15.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1264, allocations: 0 / 452.1 MB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007898/0.1272, allocations: 0.5376 MB / 452.6 MB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.1273, allocations: 83.38 kB / 452.7 MB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1273, allocations: 7.984 kB / 452.7 MB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1273, allocations: 0 / 452.7 MB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1274, allocations: 23.92 kB / 452.7 MB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1274, allocations: 4 kB / 452.7 MB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1276, allocations: 15.89 kB / 452.7 MB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.1276, allocations: 43.92 kB / 452.8 MB, free: 14.9 MB / 430.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.0002484/0.1279, allocations: 239.8 kB / 453 MB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.1279, allocations: 31.86 kB / 453 MB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.128, allocations: 13.47 kB / 453.1 MB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.128, allocations: 7.984 kB / 453.1 MB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.128, allocations: 0 / 453.1 MB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.128, allocations: 192 / 453.1 MB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1282, allocations: 177.2 kB / 453.2 MB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1282, allocations: 11.81 kB / 453.3 MB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.1283, allocations: 11.98 kB / 453.3 MB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.1283, allocations: 4 kB / 453.3 MB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.1283, allocations: 11.98 kB / 453.3 MB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1283, allocations: 3.938 kB / 453.3 MB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1283, allocations: 4 kB / 453.3 MB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.1295, allocations: 0.7736 MB / 454.1 MB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1296, allocations: 55.81 kB / 454.1 MB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.1297, allocations: 23.98 kB / 454.1 MB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1298, allocations: 15.98 kB / 454.2 MB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1299, allocations: 27.91 kB / 454.2 MB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.13, allocations: 31.95 kB / 454.2 MB, free: 13.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1301, allocations: 152.6 kB / 454.4 MB, free: 13.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1301, allocations: 4 kB / 454.4 MB, free: 13.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.1305, allocations: 79.88 kB / 454.4 MB, free: 13.15 MB / 430.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.000647/0.1311, allocations: 274.6 kB / 454.7 MB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1322, allocations: 0.7277 MB / 455.4 MB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1322, allocations: 4 kB / 455.4 MB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006172/0.1328, allocations: 478 kB / 455.9 MB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1331, allocations: 24 kB / 455.9 MB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.134, allocations: 0.6092 MB / 456.5 MB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.1342, allocations: 118.9 kB / 456.7 MB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.1342, allocations: 16.55 kB / 456.7 MB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.1343, allocations: 20.48 kB / 456.7 MB, free: 10.79 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1343, allocations: 0 / 456.7 MB, free: 10.79 MB / 430.1 MB Notification: Performance of Templates: time 0.009289/0.1436, allocations: 4.211 MB / 460.9 MB, free: 6.598 MB / 430.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 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.557870123069733] Failed to read output from testmodel.py, exit status != 0: 0.15296396100893617 0.168428254 0.049327561000000006 Calling exit ...