Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01107/0.01107, allocations: 176 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.683/1.683, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001901/0.001901, allocations: 132.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2272/0.2272, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004207, allocations: 11.06 kB / 406.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.2364, allocations: 82.14 MB / 0.5304 GB, free: 1.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.2367, allocations: 67.97 kB / 0.5305 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459/1.695, allocations: 81.85 MB / 0.6104 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.417e-06/1.695, allocations: 0 / 0.6104 GB, free: 14.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/1.695, allocations: 4 kB / 0.6104 GB, free: 14.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01128/1.707, allocations: 440.7 kB / 0.6109 GB, free: 13.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.707, allocations: 8.031 kB / 0.6109 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/1.707, allocations: 0 / 0.6109 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.099e-05/1.707, allocations: 167 kB / 0.611 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/1.707, allocations: 4 kB / 0.611 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/1.707, allocations: 4 kB / 0.611 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/1.707, allocations: 25.7 kB / 0.6111 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.707, allocations: 0 / 0.6111 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.707, allocations: 3.953 kB / 0.6111 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.707, allocations: 4 kB / 0.6111 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/1.707, allocations: 4 kB / 0.6111 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/1.707, allocations: 149.7 kB / 0.6112 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/1.707, allocations: 26.55 kB / 0.6112 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/1.707, allocations: 0 / 0.6112 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/1.707, allocations: 64.2 kB / 0.6113 GB, free: 13.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/1.707, allocations: 0 / 0.6113 GB, free: 13.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002436/1.708, allocations: 67.45 kB / 0.6114 GB, free: 13.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/1.708, allocations: 81.06 kB / 0.6114 GB, free: 13.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.671e-05/1.708, allocations: 85 kB / 0.6115 GB, free: 13.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/1.708, allocations: 29.83 kB / 0.6116 GB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/1.708, allocations: 84.14 kB / 0.6116 GB, free: 12.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/1.708, allocations: 0 / 0.6116 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/1.708, allocations: 0 / 0.6116 GB, free: 12.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.624e-05/1.708, allocations: 314.8 kB / 0.6119 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/1.708, allocations: 0 / 0.6119 GB, free: 12.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/1.708, allocations: 11.94 kB / 0.6119 GB, free: 12.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/1.708, allocations: 25.7 kB / 0.612 GB, free: 12.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.708, allocations: 0 / 0.612 GB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.2e-05/1.708, allocations: 71.44 kB / 0.612 GB, free: 12.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/1.708, allocations: 31.58 kB / 0.6121 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.708, allocations: 0 / 0.6121 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.498e-05/1.708, allocations: 0 / 0.6121 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-06/1.708, allocations: 4 kB / 0.6121 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/1.708, allocations: 0 / 0.6121 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/1.708, allocations: 3.953 kB / 0.6121 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/1.708, allocations: 0 / 0.6121 GB, free: 12.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.327e-05/1.708, allocations: 139.5 kB / 0.6122 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/1.708, allocations: 8.031 kB / 0.6122 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/1.708, allocations: 7.078 kB / 0.6122 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.708, allocations: 0 / 0.6122 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.708, allocations: 3.938 kB / 0.6122 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/1.708, allocations: 0 / 0.6122 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.957e-05/1.709, allocations: 149.6 kB / 0.6124 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/1.709, allocations: 0 / 0.6124 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/1.709, allocations: 3.984 kB / 0.6124 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.709, allocations: 0 / 0.6124 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/1.709, allocations: 0 / 0.6124 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.709, allocations: 4 kB / 0.6124 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.709, allocations: 0 / 0.6124 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/1.709, allocations: 90.8 kB / 0.6125 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/1.709, allocations: 81.09 kB / 0.6125 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.709, allocations: 4 kB / 0.6125 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/1.709, allocations: 0 / 0.6125 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/1.709, allocations: 0 / 0.6125 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/1.709, allocations: 0 / 0.6125 GB, free: 11.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.349e-05/1.709, allocations: 79.31 kB / 0.6126 GB, free: 11.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/1.709, allocations: 3.938 kB / 0.6126 GB, free: 11.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01369/1.723, allocations: 2.164 MB / 0.6147 GB, free: 9.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0321/1.755, allocations: 2.26 MB / 0.6169 GB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/1.755, allocations: 63.39 kB / 0.617 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.755, allocations: 0 / 0.617 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/1.755, allocations: 55.41 kB / 0.6171 GB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/1.755, allocations: 5.047 kB / 0.6171 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/1.756, allocations: 83.19 kB / 0.6171 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/1.756, allocations: 0.6731 MB / 0.6178 GB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.506e-06/1.756, allocations: 0 / 0.6178 GB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/1.756, allocations: 15.56 kB / 0.6178 GB, free: 6.359 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/1.756, allocations: 0 / 0.6178 GB, free: 6.359 MB / 378.7 MB Notification: Performance of Templates: time 0.5489/2.305, allocations: 123.7 MB / 0.7387 GB, free: 60.49 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1)