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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003893/0.003893, allocations: 189.9 kB / 7.461 MB, free: 2.512 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.167/1.167, allocations: 194.2 MB / 202.1 MB, free: 8.711 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.001878/0.001878, allocations: 119.6 kB / 247.1 MB, free: 6.344 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.1685/0.1685, allocations: 39.95 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.859e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08071, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.3921, allocations: 82.68 MB / 0.5179 GB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.3924, allocations: 65.47 kB / 0.518 GB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.13/6.523, allocations: 2.308 GB / 2.826 GB, free: 50.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/6.523, allocations: 0 / 2.826 GB, free: 50.27 MB / 474.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.007219/6.53, allocations: 458.6 kB / 2.827 GB, free: 49.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/6.53, allocations: 8.031 kB / 2.827 GB, free: 49.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/6.53, allocations: 3.906 kB / 2.827 GB, free: 49.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.397e-05/6.53, allocations: 163 kB / 2.827 GB, free: 49.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/6.53, allocations: 0 / 2.827 GB, free: 49.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/6.53, allocations: 4 kB / 2.827 GB, free: 49.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.988e-05/6.53, allocations: 0 / 2.827 GB, free: 49.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.114e-05/6.53, allocations: 29.58 kB / 2.827 GB, free: 49.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/6.53, allocations: 0 / 2.827 GB, free: 49.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/6.53, allocations: 0 / 2.827 GB, free: 49.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/6.53, allocations: 8.75 kB / 2.827 GB, free: 49.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.031e-05/6.531, allocations: 126.2 kB / 2.827 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.498e-05/6.531, allocations: 14.58 kB / 2.827 GB, free: 49.35 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/6.531, allocations: 8.859 kB / 2.827 GB, free: 49.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/6.531, allocations: 11.91 kB / 2.827 GB, free: 49.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/6.531, allocations: 56.27 kB / 2.827 GB, free: 49.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/6.531, allocations: 0 / 2.827 GB, free: 49.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001214/6.531, allocations: 29.7 kB / 2.827 GB, free: 49.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/6.531, allocations: 77.11 kB / 2.827 GB, free: 49.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.958e-05/6.531, allocations: 85.75 kB / 2.827 GB, free: 49.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/6.531, allocations: 29.69 kB / 2.827 GB, free: 49.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/6.531, allocations: 84.02 kB / 2.827 GB, free: 48.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/6.531, allocations: 3.906 kB / 2.827 GB, free: 48.92 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/6.531, allocations: 4 kB / 2.827 GB, free: 48.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/6.531, allocations: 310.8 kB / 2.828 GB, free: 48.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/6.531, allocations: 4 kB / 2.828 GB, free: 48.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/6.531, allocations: 0 / 2.828 GB, free: 48.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.641e-05/6.531, allocations: 3.938 kB / 2.828 GB, free: 48.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/6.531, allocations: 0 / 2.828 GB, free: 48.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.653e-05/6.531, allocations: 45.38 kB / 2.828 GB, free: 48.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/6.531, allocations: 4 kB / 2.828 GB, free: 48.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/6.531, allocations: 4 kB / 2.828 GB, free: 48.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/6.531, allocations: 0 / 2.828 GB, free: 48.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/6.531, allocations: 0 / 2.828 GB, free: 48.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/6.531, allocations: 0 / 2.828 GB, free: 48.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/6.531, allocations: 3.984 kB / 2.828 GB, free: 48.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/6.531, allocations: 4 kB / 2.828 GB, free: 48.54 MB / 474.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 6.177e-05/6.531, allocations: 130.6 kB / 2.828 GB, free: 48.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/6.531, allocations: 3.844 kB / 2.828 GB, free: 48.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.268e-05/6.531, allocations: 6.953 kB / 2.828 GB, free: 48.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/6.531, allocations: 0 / 2.828 GB, free: 48.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/6.531, allocations: 4 kB / 2.828 GB, free: 48.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/6.531, allocations: 0 / 2.828 GB, free: 48.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.067e-05/6.531, allocations: 130.1 kB / 2.828 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/6.531, allocations: 0 / 2.828 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/6.531, allocations: 0 / 2.828 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/6.531, allocations: 3.984 kB / 2.828 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/6.531, allocations: 4 kB / 2.828 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/6.531, allocations: 3.875 kB / 2.828 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/6.531, allocations: 0 / 2.828 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.188e-05/6.531, allocations: 57.08 kB / 2.828 GB, free: 48.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/6.531, allocations: 89 kB / 2.828 GB, free: 48.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/6.532, allocations: 0 / 2.828 GB, free: 48.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/6.532, allocations: 0 / 2.828 GB, free: 48.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/6.532, allocations: 0 / 2.828 GB, free: 48.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/6.532, allocations: 3.906 kB / 2.828 GB, free: 48.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.694e-05/6.532, allocations: 75.28 kB / 2.828 GB, free: 47.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002407/6.532, allocations: 4 kB / 2.828 GB, free: 47.96 MB / 474.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 8.178e-05/6.532, allocations: 93.5 kB / 2.828 GB, free: 47.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.308e-05/6.532, allocations: 29.7 kB / 2.828 GB, free: 47.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/6.532, allocations: 0 / 2.828 GB, free: 47.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/6.532, allocations: 33.7 kB / 2.828 GB, free: 47.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.424e-05/6.532, allocations: 3.875 kB / 2.828 GB, free: 47.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001311/6.532, allocations: 58.53 kB / 2.829 GB, free: 47.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/6.532, allocations: 0.6802 MB / 2.829 GB, free: 47 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/6.532, allocations: 3.938 kB / 2.829 GB, free: 47 MB / 474.7 MB Notification: Performance of Templates: time 0.001583/6.534, allocations: 187.6 kB / 2.829 GB, free: 46.83 MB / 474.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)