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.001627/0.001627, allocations: 107.8 kB / 16.46 MB, free: 6.512 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.001647/0.001647, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.626/1.626, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.04306/0.04306, allocations: 3.92 MB / 312.8 MB, free: 0.4961 MB / 238.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.001874/0.001874, allocations: 63.91 kB / 435 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1333, allocations: 54.1 MB / 489.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.003552/0.1368, allocations: 1.551 MB / 490.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1397, allocations: 1.157 MB / 491.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1398, allocations: 0 / 491.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.1401, allocations: 27.73 kB / 491.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.1402, allocations: 19.84 kB / 491.9 MB, free: 5.168 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.001028/0.1412, allocations: 239.3 kB / 492.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.1415, allocations: 159.6 kB / 492.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1416, allocations: 5.125 kB / 492.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1418, allocations: 67.81 kB / 492.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1419, allocations: 63.69 kB / 492.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1419, allocations: 8 kB / 492.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.1424, allocations: 255.6 kB / 492.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.1425, allocations: 15.88 kB / 492.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.1427, allocations: 67.64 kB / 492.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.1432, allocations: 283 kB / 493 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1432, allocations: 0 / 493 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1432, allocations: 0 / 493 MB, free: 4.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1432, allocations: 0 / 493 MB, free: 4.027 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001965/0.1452, allocations: 1.345 MB / 494.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1452, allocations: 11.98 kB / 494.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.1457, allocations: 52.78 kB / 494.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.146, allocations: 228.8 kB / 494.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.146, allocations: 4.375 kB / 494.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1461, allocations: 8.375 kB / 494.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.1465, allocations: 165.9 kB / 494.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1465, allocations: 0 / 494.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1465, allocations: 0 / 494.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1465, allocations: 4 kB / 494.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.1469, allocations: 143.9 kB / 495 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.1476, allocations: 356.7 kB / 495.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.148, allocations: 150.4 kB / 495.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.1483, allocations: 116.9 kB / 495.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1483, allocations: 0 / 495.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/0.1488, allocations: 300.4 kB / 495.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.1488, allocations: 0 / 495.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001187/0.15, allocations: 495.1 kB / 496.4 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1502, allocations: 85.11 kB / 496.4 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1504, allocations: 173 kB / 496.6 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.1504, allocations: 25.7 kB / 496.6 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.1505, allocations: 104.4 kB / 496.7 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1505, allocations: 35.7 kB / 496.8 MB, free: 24 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1507, allocations: 45.69 kB / 496.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002714/0.151, allocations: 330.9 kB / 497.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1512, allocations: 95.88 kB / 497.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.1515, allocations: 95.94 kB / 497.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.152, allocations: 274.4 kB / 497.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.152, allocations: 4 kB / 497.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006519/0.1527, allocations: 306.3 kB / 497.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-05/0.1527, allocations: 53.67 kB / 498 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1527, allocations: 0 / 498 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1528, allocations: 0 / 498 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1529, allocations: 23.98 kB / 498 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.1529, allocations: 0 / 498 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.153, allocations: 23.88 kB / 498 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.1531, allocations: 27.91 kB / 498 MB, free: 14.73 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: 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.0002416/0.1533, allocations: 195.9 kB / 498.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.1534, allocations: 23.89 kB / 498.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.1534, allocations: 9.531 kB / 498.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1534, allocations: 0 / 498.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1534, allocations: 8.062 kB / 498.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1534, allocations: 0 / 498.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1537, allocations: 225.5 kB / 498.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1537, allocations: 0 / 498.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1538, allocations: 23.92 kB / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1538, allocations: 0 / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1538, allocations: 4 kB / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1538, allocations: 0 / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1538, allocations: 0 / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.155, allocations: 0.5948 MB / 499.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1551, allocations: 89.03 kB / 499.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.1551, allocations: 11.98 kB / 499.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1552, allocations: 15.98 kB / 499.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.1553, allocations: 7.984 kB / 499.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.1554, allocations: 31.95 kB / 499.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1555, allocations: 128.2 kB / 499.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1555, allocations: 0 / 499.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004099/0.1559, allocations: 83.86 kB / 499.5 MB, free: 13.18 MB / 366.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.0006255/0.1565, allocations: 249.7 kB / 499.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007255/0.1572, allocations: 347.2 kB / 0.4883 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1572, allocations: 0 / 0.4883 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.1576, allocations: 227.3 kB / 0.4885 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1579, allocations: 23.88 kB / 0.4886 GB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.1587, allocations: 379.1 kB / 0.4889 GB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1591, allocations: 0.7118 MB / 0.4896 GB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.1592, allocations: 16.42 kB / 0.4896 GB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.1592, allocations: 19.42 kB / 0.4897 GB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1592, allocations: 0 / 0.4897 GB, free: 11.18 MB / 366.1 MB Notification: Performance of Templates: time 0.008195/0.1674, allocations: 3.216 MB / 0.4928 GB, free: 7.98 MB / 366.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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.309279769659042] Failed to read output from testmodel.py, exit status != 0: 0.175547294318676 0.19027785700000002 0.044172404000000005 Calling exit ...