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.001976/0.001976, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.666/1.666, allocations: 194.3 MB / 202.4 MB, free: 8.484 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.001733/0.001733, allocations: 112.2 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2143/0.2143, allocations: 39.95 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.944e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/0.4299, allocations: 81.39 MB / 0.5172 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4301, allocations: 69.67 kB / 0.5172 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104/1.535, allocations: 81.53 MB / 0.5969 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.512e-06/1.535, allocations: 0 / 0.5969 GB, free: 8.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/1.535, allocations: 4 kB / 0.5969 GB, free: 8.234 MB / 410.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.003433/1.538, allocations: 435.4 kB / 0.5973 GB, free: 7.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.538, allocations: 8.031 kB / 0.5973 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/1.538, allocations: 7.906 kB / 0.5973 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.869e-05/1.538, allocations: 159.1 kB / 0.5974 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.538, allocations: 0 / 0.5974 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/1.538, allocations: 0 / 0.5974 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.624e-05/1.538, allocations: 7.984 kB / 0.5975 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.937e-05/1.538, allocations: 37.59 kB / 0.5975 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/1.538, allocations: 4 kB / 0.5975 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/1.538, allocations: 0 / 0.5975 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/1.538, allocations: 0 / 0.5975 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/1.538, allocations: 125.6 kB / 0.5976 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/1.539, allocations: 19.36 kB / 0.5976 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/1.539, allocations: 4.859 kB / 0.5976 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/1.539, allocations: 0 / 0.5976 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.539, allocations: 64.25 kB / 0.5977 GB, free: 7.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/1.539, allocations: 0 / 0.5977 GB, free: 7.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001715/1.539, allocations: 41.02 kB / 0.5977 GB, free: 7.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/1.539, allocations: 77.11 kB / 0.5978 GB, free: 7.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.232e-05/1.539, allocations: 85 kB / 0.5979 GB, free: 7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/1.539, allocations: 29.64 kB / 0.5979 GB, free: 6.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/1.539, allocations: 80.14 kB / 0.598 GB, free: 6.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/1.539, allocations: 7.938 kB / 0.598 GB, free: 6.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/1.539, allocations: 4.031 kB / 0.598 GB, free: 6.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/1.539, allocations: 315.5 kB / 0.5983 GB, free: 6.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-06/1.539, allocations: 0 / 0.5983 GB, free: 6.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/1.539, allocations: 7.922 kB / 0.5983 GB, free: 6.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/1.539, allocations: 4 kB / 0.5983 GB, free: 6.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.539, allocations: 0 / 0.5983 GB, free: 6.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.125e-05/1.539, allocations: 29.7 kB / 0.5983 GB, free: 6.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.539, allocations: 33.7 kB / 0.5984 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.539, allocations: 0 / 0.5984 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/1.539, allocations: 4.094 kB / 0.5984 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/1.539, allocations: 0 / 0.5984 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.539, allocations: 7.922 kB / 0.5984 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/1.539, allocations: 0 / 0.5984 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/1.539, allocations: 4 kB / 0.5984 GB, free: 6.457 MB / 410.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 () * 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 8.05e-05/1.539, allocations: 130.6 kB / 0.5985 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/1.539, allocations: 0 / 0.5985 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/1.539, allocations: 7.703 kB / 0.5985 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.539, allocations: 7.984 kB / 0.5985 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.539, allocations: 4 kB / 0.5985 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/1.539, allocations: 0 / 0.5985 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.974e-05/1.54, allocations: 130.2 kB / 0.5987 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/1.54, allocations: 0 / 0.5987 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.54, allocations: 0 / 0.5987 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/1.54, allocations: 0 / 0.5987 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/1.54, allocations: 4 kB / 0.5987 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/1.54, allocations: 0 / 0.5987 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.54, allocations: 0 / 0.5987 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/1.54, allocations: 72.27 kB / 0.5987 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/1.54, allocations: 77.11 kB / 0.5988 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/1.54, allocations: 4 kB / 0.5988 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/1.54, allocations: 0 / 0.5988 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/1.54, allocations: 3.625 kB / 0.5988 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/1.54, allocations: 3.938 kB / 0.5988 GB, free: 5.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.529e-05/1.54, allocations: 75.28 kB / 0.5989 GB, free: 5.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.804e-06/1.54, allocations: 0 / 0.5989 GB, free: 5.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008015/1.548, allocations: 2.159 MB / 0.601 GB, free: 3.719 MB / 410.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) * 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.01331/1.561, allocations: 2.26 MB / 0.6032 GB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/1.561, allocations: 58.66 kB / 0.6033 GB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.561, allocations: 64 / 0.6033 GB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/1.561, allocations: 63.34 kB / 0.6033 GB, free: 1.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/1.562, allocations: 3.953 kB / 0.6033 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/1.562, allocations: 44.33 kB / 0.6034 GB, free: 1.254 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/1.562, allocations: 0.6768 MB / 0.604 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.811e-06/1.562, allocations: 0 / 0.604 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/1.562, allocations: 11.44 kB / 0.604 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/1.562, allocations: 0 / 0.604 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of Templates: time 0.4199/1.982, allocations: 125.1 MB / 0.7262 GB, free: 88.29 MB / 474.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)