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") [: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.003728/0.003728, allocations: 182.3 kB / 7.458 MB, free: 2.5 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.356/1.356, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001726/0.001726, allocations: 121 kB / 247.1 MB, free: 6.383 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.1584/0.1584, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.662e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08607, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2548/0.3409, allocations: 81.32 MB / 0.5166 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.3412, allocations: 65.42 kB / 0.5166 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.773/4.114, allocations: 1.007 GB / 1.524 GB, free: 59.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/4.114, allocations: 0 / 1.524 GB, free: 59.31 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.007985/4.122, allocations: 437.5 kB / 1.525 GB, free: 58.85 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/4.122, allocations: 8.031 kB / 1.525 GB, free: 58.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/4.122, allocations: 3.906 kB / 1.525 GB, free: 58.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.372e-05/4.122, allocations: 163.1 kB / 1.525 GB, free: 58.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/4.122, allocations: 0 / 1.525 GB, free: 58.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/4.122, allocations: 4 kB / 1.525 GB, free: 58.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.799e-05/4.122, allocations: 0 / 1.525 GB, free: 58.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.508e-05/4.122, allocations: 33.55 kB / 1.525 GB, free: 58.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/4.122, allocations: 0 / 1.525 GB, free: 58.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/4.122, allocations: 4 kB / 1.525 GB, free: 58.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/4.122, allocations: 0 / 1.525 GB, free: 58.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.573e-05/4.122, allocations: 130.2 kB / 1.525 GB, free: 58.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.861e-05/4.122, allocations: 19.41 kB / 1.525 GB, free: 58.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/4.122, allocations: 12.94 kB / 1.525 GB, free: 58.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/4.122, allocations: 0 / 1.525 GB, free: 58.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/4.122, allocations: 60.14 kB / 1.525 GB, free: 58.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/4.122, allocations: 1.312 kB / 1.525 GB, free: 58.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001339/4.123, allocations: 29.7 kB / 1.525 GB, free: 58.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/4.123, allocations: 81.05 kB / 1.525 GB, free: 58.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.449e-05/4.123, allocations: 85 kB / 1.525 GB, free: 58.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/4.123, allocations: 25.7 kB / 1.525 GB, free: 58.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/4.123, allocations: 84.7 kB / 1.525 GB, free: 57.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/4.123, allocations: 7.875 kB / 1.525 GB, free: 57.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/4.123, allocations: 0 / 1.525 GB, free: 57.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/4.123, allocations: 322.1 kB / 1.526 GB, free: 57.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-06/4.123, allocations: 0 / 1.526 GB, free: 57.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/4.123, allocations: 0 / 1.526 GB, free: 57.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.681e-05/4.123, allocations: 3.938 kB / 1.526 GB, free: 57.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/4.123, allocations: 7.828 kB / 1.526 GB, free: 57.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.907e-05/4.123, allocations: 29.7 kB / 1.526 GB, free: 57.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/4.123, allocations: 7.906 kB / 1.526 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/4.123, allocations: 0 / 1.526 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/4.123, allocations: 0 / 1.526 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/4.123, allocations: 0 / 1.526 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/4.123, allocations: 0 / 1.526 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/4.123, allocations: 0 / 1.526 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/4.123, allocations: 4 kB / 1.526 GB, free: 57.6 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 7.086e-05/4.123, allocations: 138.5 kB / 1.526 GB, free: 57.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/4.123, allocations: 0 / 1.526 GB, free: 57.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/4.123, allocations: 10.86 kB / 1.526 GB, free: 57.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/4.123, allocations: 4 kB / 1.526 GB, free: 57.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/4.123, allocations: 0 / 1.526 GB, free: 57.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/4.123, allocations: 0 / 1.526 GB, free: 57.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.822e-05/4.123, allocations: 126.2 kB / 1.526 GB, free: 57.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/4.123, allocations: 3.906 kB / 1.526 GB, free: 57.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/4.123, allocations: 0 / 1.526 GB, free: 57.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/4.123, allocations: 3.984 kB / 1.526 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/4.123, allocations: 4 kB / 1.526 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/4.123, allocations: 0 / 1.526 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/4.123, allocations: 3.875 kB / 1.526 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.25e-05/4.123, allocations: 53.14 kB / 1.526 GB, free: 57.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/4.123, allocations: 85.02 kB / 1.526 GB, free: 57.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/4.123, allocations: 3.984 kB / 1.526 GB, free: 57.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/4.123, allocations: 0 / 1.526 GB, free: 57.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/4.123, allocations: 0 / 1.526 GB, free: 57.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/4.123, allocations: 0 / 1.526 GB, free: 57.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-05/4.123, allocations: 87.12 kB / 1.526 GB, free: 57.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002162/4.124, allocations: 0 / 1.526 GB, free: 57.01 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.464e-05/4.124, allocations: 95.19 kB / 1.526 GB, free: 56.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.764e-05/4.124, allocations: 29.7 kB / 1.526 GB, free: 56.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/4.124, allocations: 0 / 1.526 GB, free: 56.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/4.124, allocations: 29.7 kB / 1.526 GB, free: 56.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/4.124, allocations: 0 / 1.526 GB, free: 56.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001193/4.124, allocations: 55.48 kB / 1.526 GB, free: 56.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/4.124, allocations: 0.6802 MB / 1.527 GB, free: 56.06 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/4.124, allocations: 3.938 kB / 1.527 GB, free: 56.06 MB / 474.7 MB Notification: Performance of Templates: time 0.001555/4.126, allocations: 183.8 kB / 1.527 GB, free: 55.89 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)