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.002108/0.002108, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.003483/0.003483, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.785 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.02876/0.02876, allocations: 3.939 MB / 316.4 MB, free: 15.12 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.002033/0.002033, allocations: 67.91 kB / 440.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1315, allocations: 54.14 MB / 494.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002883/0.1344, allocations: 1.529 MB / 495.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1366, allocations: 1.098 MB / 497 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1367, allocations: 7.875 kB / 497 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1369, allocations: 23.8 kB / 497 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.137, allocations: 15.86 kB / 497 MB, free: 2.227 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.0008717/0.1378, allocations: 267.2 kB / 497.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.1381, allocations: 167.6 kB / 497.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.1382, allocations: 5.312 kB / 497.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1383, allocations: 67.75 kB / 497.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1384, allocations: 51.75 kB / 497.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.1384, allocations: 8 kB / 497.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.1389, allocations: 283.5 kB / 497.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.139, allocations: 19.92 kB / 497.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.139, allocations: 47.73 kB / 497.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.1395, allocations: 287 kB / 498.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1395, allocations: 4 kB / 498.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1395, allocations: 0 / 498.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1395, allocations: 0 / 498.2 MB, free: 1.039 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.00176/0.1412, allocations: 1.247 MB / 499.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1413, allocations: 8.031 kB / 499.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.1416, allocations: 52.78 kB / 499.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1419, allocations: 159 kB / 499.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1419, allocations: 8.312 kB / 499.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.142, allocations: 12.38 kB / 499.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.1424, allocations: 203.6 kB / 499.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1424, allocations: 0 / 499.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1424, allocations: 4 kB / 499.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1424, allocations: 3.984 kB / 499.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.1428, allocations: 189.6 kB / 0.4883 GB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.1434, allocations: 288.3 kB / 0.4886 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.1438, allocations: 196 kB / 0.4888 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.1441, allocations: 154.5 kB / 0.4889 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1442, allocations: 0 / 0.4889 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.1446, allocations: 342.1 kB / 0.4893 GB, free: 14.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1446, allocations: 0 / 0.4893 GB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001164/0.1458, allocations: 0.5454 MB / 0.4898 GB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.1459, allocations: 93.09 kB / 0.4899 GB, free: 13.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1461, allocations: 160.9 kB / 0.49 GB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1461, allocations: 33.7 kB / 0.4901 GB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.1462, allocations: 108.4 kB / 0.4902 GB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.1462, allocations: 35.69 kB / 0.4902 GB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.1463, allocations: 45.7 kB / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1465, allocations: 322.8 kB / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.1467, allocations: 137.6 kB / 0.4907 GB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.147, allocations: 144.6 kB / 0.4908 GB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.1475, allocations: 280.1 kB / 0.4911 GB, free: 12.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1475, allocations: 0 / 0.4911 GB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006639/0.1482, allocations: 348.9 kB / 0.4914 GB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.1482, allocations: 53.56 kB / 0.4915 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1482, allocations: 0 / 0.4915 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1482, allocations: 0 / 0.4915 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1484, allocations: 27.97 kB / 0.4915 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1484, allocations: 4 kB / 0.4915 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1485, allocations: 23.94 kB / 0.4915 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.1486, allocations: 19.97 kB / 0.4916 GB, free: 11.55 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.0001932/0.1488, allocations: 179.3 kB / 0.4917 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.1488, allocations: 19.91 kB / 0.4917 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.1489, allocations: 13.47 kB / 0.4918 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1489, allocations: 0 / 0.4918 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1489, allocations: 0 / 0.4918 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1489, allocations: 3.984 kB / 0.4918 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.149, allocations: 161.2 kB / 0.4919 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.149, allocations: 3.938 kB / 0.4919 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1491, allocations: 11.98 kB / 0.4919 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1491, allocations: 4 kB / 0.4919 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1492, allocations: 4 kB / 0.4919 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1492, allocations: 3.984 kB / 0.4919 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1492, allocations: 0 / 0.4919 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.1504, allocations: 0.666 MB / 0.4926 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.1504, allocations: 11.92 kB / 0.4926 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.1505, allocations: 11.98 kB / 0.4926 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1506, allocations: 19.98 kB / 0.4926 GB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.1506, allocations: 11.92 kB / 0.4926 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.1507, allocations: 24.09 kB / 0.4927 GB, free: 10.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1508, allocations: 124.2 kB / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1508, allocations: 0 / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.1512, allocations: 91.8 kB / 0.4929 GB, free: 10.12 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.0006439/0.1518, allocations: 259.3 kB / 0.4931 GB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007885/0.1526, allocations: 433.2 kB / 0.4935 GB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1526, allocations: 3.938 kB / 0.4935 GB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.153, allocations: 256.9 kB / 0.4938 GB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.1532, allocations: 21.66 kB / 0.4938 GB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008501/0.1541, allocations: 421.1 kB / 0.4942 GB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.1542, allocations: 109 kB / 0.4943 GB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.1542, allocations: 16.41 kB / 0.4943 GB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1543, allocations: 11.44 kB / 0.4943 GB, free: 8.562 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1543, allocations: 0 / 0.4943 GB, free: 8.562 MB / 366.1 MB Notification: Performance of Templates: time 0.007554/0.1618, allocations: 3.438 MB / 0.4977 GB, free: 5.152 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.195312155410647] Failed to read output from testmodel.py, exit status != 0: 0.16939212754368782 0.185597685 0.043045438000000005 Calling exit ...