Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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.001719/0.001719, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.00204/0.00204, allocations: 159.3 kB / 23.01 MB, free: 4.961 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.541/1.541, 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.02801/0.02801, allocations: 3.159 MB / 262.9 MB, free: 13.67 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.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.91 kB / 386.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1184, allocations: 54.11 MB / 440.9 MB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.003261/0.1216, allocations: 1.53 MB / 442.4 MB, free: 9.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.124, allocations: 1.106 MB / 443.5 MB, free: 8.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.1241, allocations: 0 / 443.5 MB, free: 8.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.1242, allocations: 23.8 kB / 443.5 MB, free: 8.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1243, allocations: 19.84 kB / 443.5 MB, free: 8.609 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.0008736/0.1252, allocations: 267.2 kB / 443.8 MB, free: 8.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.1254, allocations: 159.7 kB / 444 MB, free: 8.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.1255, allocations: 13.28 kB / 444 MB, free: 8.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1256, allocations: 63.77 kB / 444 MB, free: 8.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1258, allocations: 51.75 kB / 444.1 MB, free: 8.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1258, allocations: 11.94 kB / 444.1 MB, free: 8.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.1263, allocations: 275.5 kB / 444.4 MB, free: 7.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.1263, allocations: 15.94 kB / 444.4 MB, free: 7.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.1264, allocations: 43.8 kB / 444.4 MB, free: 7.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.1268, allocations: 295.1 kB / 444.7 MB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1268, allocations: 0 / 444.7 MB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1268, allocations: 0 / 444.7 MB, free: 7.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1268, allocations: 4 kB / 444.7 MB, free: 7.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00173/0.1286, allocations: 1.251 MB / 446 MB, free: 6.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1286, allocations: 8.031 kB / 446 MB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/0.129, allocations: 56.61 kB / 446 MB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1293, allocations: 159 kB / 446.2 MB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1293, allocations: 8.375 kB / 446.2 MB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.1294, allocations: 4.375 kB / 446.2 MB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.1298, allocations: 215.6 kB / 446.4 MB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1298, allocations: 0 / 446.4 MB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.1298, allocations: 4 kB / 446.4 MB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1298, allocations: 4 kB / 446.4 MB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.1303, allocations: 185.5 kB / 446.6 MB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.1308, allocations: 276.5 kB / 446.9 MB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.1313, allocations: 192.1 kB / 447 MB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.1316, allocations: 162.5 kB / 447.2 MB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1316, allocations: 0 / 447.2 MB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/0.1322, allocations: 342 kB / 447.5 MB, free: 4.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.1322, allocations: 0 / 447.5 MB, free: 4.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001191/0.1333, allocations: 0.5451 MB / 448.1 MB, free: 3.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.1334, allocations: 93.09 kB / 448.2 MB, free: 3.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1336, allocations: 171.2 kB / 448.3 MB, free: 3.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1337, allocations: 29.81 kB / 448.4 MB, free: 3.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.1337, allocations: 104.4 kB / 448.5 MB, free: 3.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.1338, allocations: 35.7 kB / 448.5 MB, free: 3.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.1339, allocations: 49.69 kB / 448.6 MB, free: 3.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.134, allocations: 326.8 kB / 448.9 MB, free: 3.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.1343, allocations: 137.6 kB / 449 MB, free: 2.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1346, allocations: 141.5 kB / 449.1 MB, free: 2.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.1351, allocations: 276.1 kB / 449.4 MB, free: 2.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1351, allocations: 4 kB / 449.4 MB, free: 2.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006783/0.1357, allocations: 356 kB / 449.8 MB, free: 2.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.1358, allocations: 45.69 kB / 449.8 MB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1358, allocations: 0 / 449.8 MB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1358, allocations: 0 / 449.8 MB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.136, allocations: 31.98 kB / 449.8 MB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.136, allocations: 3.984 kB / 449.9 MB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1361, allocations: 15.95 kB / 449.9 MB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.1362, allocations: 19.97 kB / 449.9 MB, free: 1.945 MB / 414.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: 14 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001998/0.1364, allocations: 183.4 kB / 450.1 MB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.1365, allocations: 15.95 kB / 450.1 MB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.1365, allocations: 13.45 kB / 450.1 MB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1365, allocations: 7.938 kB / 450.1 MB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1365, allocations: 0 / 450.1 MB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1365, allocations: 0 / 450.1 MB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1367, allocations: 153.2 kB / 450.3 MB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1367, allocations: 11.88 kB / 450.3 MB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1368, allocations: 15.98 kB / 450.3 MB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1368, allocations: 7.969 kB / 450.3 MB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.1368, allocations: 8 kB / 450.3 MB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1368, allocations: 0 / 450.3 MB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1368, allocations: 0 / 450.3 MB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.1381, allocations: 0.6658 MB / 451 MB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.1381, allocations: 15.91 kB / 451 MB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.1382, allocations: 12 kB / 451 MB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1383, allocations: 11.98 kB / 451 MB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.1384, allocations: 15.98 kB / 451 MB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.1384, allocations: 19.97 kB / 451 MB, free: 0.7188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1385, allocations: 120 kB / 451.2 MB, free: 0.6016 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1385, allocations: 0 / 451.2 MB, free: 0.6016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.1389, allocations: 95.81 kB / 451.2 MB, free: 0.5078 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0006895/0.1396, allocations: 264.2 kB / 451.5 MB, free: 288 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008355/0.1405, allocations: 430.5 kB / 451.9 MB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1405, allocations: 3.938 kB / 451.9 MB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.1409, allocations: 257 kB / 452.2 MB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1411, allocations: 22.91 kB / 452.2 MB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.142, allocations: 428.9 kB / 452.6 MB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.901e-05/0.1421, allocations: 93.31 kB / 452.7 MB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.1422, allocations: 16.47 kB / 452.7 MB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.1422, allocations: 16.48 kB / 452.7 MB, free: 14.95 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1422, allocations: 0 / 452.7 MB, free: 14.95 MB / 430.1 MB Notification: Performance of Templates: time 0.008112/0.1504, allocations: 3.366 MB / 456.1 MB, free: 11.61 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.939358591916971] Failed to read output from testmodel.py, exit status != 0: 0.1597536780172959 0.174968538 0.044904106000000006 Calling exit ...