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.001494/0.001494, 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.001717/0.001717, allocations: 217.1 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.03256/0.03256, allocations: 3.933 MB / 317.1 MB, free: 15.34 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.002158/0.002158, allocations: 67.89 kB / 441 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.114, allocations: 54.15 MB / 495.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.003589/0.1176, allocations: 1.553 MB / 496.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.1204, allocations: 1.188 MB / 497.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.1205, allocations: 4 kB / 497.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1207, allocations: 19.8 kB / 497.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/0.1208, allocations: 7.875 kB / 497.9 MB, free: 2.449 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.001119/0.1219, allocations: 263.2 kB / 498.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1223, allocations: 175.6 kB / 498.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.1223, allocations: 9.312 kB / 498.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1225, allocations: 63.81 kB / 498.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1226, allocations: 55.77 kB / 498.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1227, allocations: 8 kB / 498.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.1232, allocations: 307.4 kB / 498.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.1233, allocations: 19.92 kB / 498.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1234, allocations: 51.72 kB / 498.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.124, allocations: 291 kB / 499.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.124, allocations: 0 / 499.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.124, allocations: 0 / 499.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.124, allocations: 3.938 kB / 499.1 MB, free: 1.223 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.001957/0.126, allocations: 1.278 MB / 0.4887 GB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.126, allocations: 8.031 kB / 0.4887 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/0.1265, allocations: 48.8 kB / 0.4888 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1268, allocations: 159 kB / 0.4889 GB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1268, allocations: 4.375 kB / 0.4889 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1269, allocations: 8.375 kB / 0.4889 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.1274, allocations: 169.8 kB / 0.4891 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1274, allocations: 4 kB / 0.4891 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1274, allocations: 4 kB / 0.4891 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1274, allocations: 0 / 0.4891 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.1278, allocations: 143.9 kB / 0.4892 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.1285, allocations: 323.7 kB / 0.4895 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.129, allocations: 150.4 kB / 0.4897 GB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.1292, allocations: 116.8 kB / 0.4898 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1292, allocations: 4 kB / 0.4898 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005448/0.1298, allocations: 307.7 kB / 0.4901 GB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.1298, allocations: 0 / 0.4901 GB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001203/0.131, allocations: 479.2 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1311, allocations: 97.05 kB / 0.4906 GB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1313, allocations: 169 kB / 0.4908 GB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1313, allocations: 33.7 kB / 0.4908 GB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1314, allocations: 96.42 kB / 0.4909 GB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.1315, allocations: 39.69 kB / 0.491 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.1316, allocations: 45.69 kB / 0.491 GB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1317, allocations: 330.8 kB / 0.4913 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.132, allocations: 95.94 kB / 0.4914 GB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.1323, allocations: 93.64 kB / 0.4915 GB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.1328, allocations: 282.6 kB / 0.4918 GB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1328, allocations: 0 / 0.4918 GB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007284/0.1336, allocations: 299.1 kB / 0.4921 GB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.1336, allocations: 53.67 kB / 0.4921 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1336, allocations: 0 / 0.4921 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.537e-05/0.1337, allocations: 7.984 kB / 0.4921 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1338, allocations: 27.98 kB / 0.4921 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1339, allocations: 0 / 0.4921 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.134, allocations: 15.94 kB / 0.4922 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.134, allocations: 19.97 kB / 0.4922 GB, free: 12.13 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.0002793/0.1343, allocations: 195.3 kB / 0.4924 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1343, allocations: 15.91 kB / 0.4924 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.1344, allocations: 21.45 kB / 0.4924 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1344, allocations: 0 / 0.4924 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1344, allocations: 8 kB / 0.4924 GB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1344, allocations: 0 / 0.4924 GB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.1347, allocations: 204.4 kB / 0.4926 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1347, allocations: 0 / 0.4926 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.1348, allocations: 11.98 kB / 0.4926 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1348, allocations: 0 / 0.4926 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.1348, allocations: 15.98 kB / 0.4926 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1348, allocations: 0 / 0.4926 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1348, allocations: 4 kB / 0.4926 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.1361, allocations: 0.5804 MB / 0.4932 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.1361, allocations: 7.984 kB / 0.4932 GB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.1362, allocations: 12 kB / 0.4932 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1363, allocations: 20.05 kB / 0.4932 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1364, allocations: 11.98 kB / 0.4932 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.1364, allocations: 19.97 kB / 0.4933 GB, free: 10.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1365, allocations: 132.1 kB / 0.4934 GB, free: 10.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.1365, allocations: 0 / 0.4934 GB, free: 10.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.1369, allocations: 91.81 kB / 0.4935 GB, free: 10.71 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.0006652/0.1376, allocations: 253.4 kB / 0.4937 GB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.1384, allocations: 347.2 kB / 0.494 GB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1384, allocations: 0 / 0.494 GB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.1388, allocations: 231.2 kB / 0.4943 GB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1391, allocations: 15.94 kB / 0.4943 GB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.1401, allocations: 405.1 kB / 0.4947 GB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.1405, allocations: 0.7118 MB / 0.4954 GB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1406, allocations: 15.42 kB / 0.4954 GB, free: 8.707 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1406, allocations: 3.938 kB / 0.4954 GB, free: 8.703 MB / 366.1 MB Notification: Performance of Templates: time 0.007305/0.1479, allocations: 3.17 MB / 0.4985 GB, free: 5.551 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: 8.349242537049577] Failed to read output from testmodel.py, exit status != 0: 0.15778957400470972 0.177476072 0.049336898000000004 Calling exit ...