Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007253/0.007253, allocations: 174.8 kB / 15.12 MB, free: 5.973 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.635/1.635, allocations: 194.5 MB / 210.3 MB, free: 7.555 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.001722/0.001722, allocations: 124.6 kB / 255.6 MB, free: 10.15 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.1875/0.1875, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006722/0.0006725, allocations: 10.91 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1472, allocations: 54.88 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.537, allocations: 83.5 MB / 0.5318 GB, free: 81.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5373, allocations: 71.83 kB / 0.5318 GB, free: 81.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7701/1.307, allocations: 71.87 MB / 0.602 GB, free: 22.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.307, allocations: 0 / 0.602 GB, free: 22.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/1.307, allocations: 0 / 0.602 GB, free: 22.87 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.008598/1.316, allocations: 472.7 kB / 0.6025 GB, free: 22.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/1.316, allocations: 8.031 kB / 0.6025 GB, free: 22.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/1.316, allocations: 0 / 0.6025 GB, free: 22.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.316, allocations: 163.1 kB / 0.6026 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/1.316, allocations: 0 / 0.6026 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/1.316, allocations: 8 kB / 0.6026 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/1.317, allocations: 29.7 kB / 0.6027 GB, free: 22.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.317, allocations: 0 / 0.6027 GB, free: 22.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/1.317, allocations: 3.953 kB / 0.6027 GB, free: 22.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/1.317, allocations: 4 kB / 0.6027 GB, free: 22.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/1.317, allocations: 7.969 kB / 0.6027 GB, free: 22.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/1.317, allocations: 145.6 kB / 0.6028 GB, free: 21.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/1.317, allocations: 18.61 kB / 0.6028 GB, free: 21.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/1.317, allocations: 4 kB / 0.6029 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.317, allocations: 60.27 kB / 0.6029 GB, free: 21.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.317, allocations: 0 / 0.6029 GB, free: 21.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001857/1.317, allocations: 67.39 kB / 0.603 GB, free: 21.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/1.317, allocations: 81.06 kB / 0.6031 GB, free: 21.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.331e-05/1.317, allocations: 85 kB / 0.6031 GB, free: 21.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/1.317, allocations: 25.7 kB / 0.6032 GB, free: 21.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/1.317, allocations: 88.27 kB / 0.6032 GB, free: 21.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/1.317, allocations: 0 / 0.6032 GB, free: 21.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/1.317, allocations: 3.938 kB / 0.6032 GB, free: 21.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/1.317, allocations: 318.8 kB / 0.6035 GB, free: 21.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/1.317, allocations: 0 / 0.6035 GB, free: 21.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-06/1.317, allocations: 4 kB / 0.6036 GB, free: 21.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/1.317, allocations: 29.69 kB / 0.6036 GB, free: 21.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.317, allocations: 0 / 0.6036 GB, free: 21.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.312e-05/1.317, allocations: 59.5 kB / 0.6036 GB, free: 20.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.317, allocations: 33.7 kB / 0.6037 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.317, allocations: 0 / 0.6037 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.318, allocations: 0 / 0.6037 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/1.318, allocations: 0 / 0.6037 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.318, allocations: 7.938 kB / 0.6037 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/1.318, allocations: 0 / 0.6037 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/1.318, allocations: 7.938 kB / 0.6037 GB, free: 20.91 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 9.086e-05/1.318, allocations: 139.5 kB / 0.6038 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-06/1.318, allocations: 0 / 0.6038 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/1.318, allocations: 11.08 kB / 0.6038 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/1.318, allocations: 0 / 0.6038 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.318, allocations: 0 / 0.6038 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.318, allocations: 0 / 0.6038 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.671e-05/1.318, allocations: 153.6 kB / 0.604 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/1.318, allocations: 0 / 0.604 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/1.318, allocations: 0 / 0.604 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/1.318, allocations: 0 / 0.604 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/1.318, allocations: 0 / 0.604 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/1.318, allocations: 0 / 0.604 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.318, allocations: 0.7812 kB / 0.604 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/1.318, allocations: 98.78 kB / 0.6041 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/1.318, allocations: 77.11 kB / 0.6041 GB, free: 20.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/1.318, allocations: 0 / 0.6041 GB, free: 20.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-06/1.318, allocations: 7.938 kB / 0.6042 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/1.318, allocations: 0 / 0.6042 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/1.318, allocations: 4 kB / 0.6042 GB, free: 20.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.693e-05/1.318, allocations: 75.28 kB / 0.6042 GB, free: 20.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.318, allocations: 4.031 kB / 0.6042 GB, free: 20.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01035/1.329, allocations: 1.531 MB / 0.6057 GB, free: 18.72 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.02109/1.35, allocations: 2.025 MB / 0.6077 GB, free: 16.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/1.35, allocations: 59.41 kB / 0.6078 GB, free: 16.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.35, allocations: 0 / 0.6078 GB, free: 16.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/1.35, allocations: 55.41 kB / 0.6078 GB, free: 16.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/1.35, allocations: 10.44 kB / 0.6078 GB, free: 16.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/1.35, allocations: 83.2 kB / 0.6079 GB, free: 16.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/1.35, allocations: 0.677 MB / 0.6086 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.763e-06/1.35, allocations: 3.938 kB / 0.6086 GB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/1.35, allocations: 7.438 kB / 0.6086 GB, free: 15.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/1.35, allocations: 4.125 kB / 0.6086 GB, free: 15.71 MB / 378.7 MB Notification: Performance of Templates: time 0.1673/1.518, allocations: 87.39 MB / 0.6939 GB, free: 8.168 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1)