Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003841/0.00384, allocations: 361.1 kB / 15.96 MB, free: 6.191 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.253/4.253, allocations: 388.9 MB / 405.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003571/0.003571, allocations: 226.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5477/0.5477, allocations: 80.04 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004713, allocations: 10.5 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0006126/0.103, allocations: 228.4 kB / 0.6803 GB, free: 41.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.1065, allocations: 2.201 MB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.1066, allocations: 0 / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1066, allocations: 0 / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.1066, allocations: 0 / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.1085, allocations: 470.5 kB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.1086, allocations: 0 / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.1087, allocations: 4 kB / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.87e-05/0.1087, allocations: 3.984 kB / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.1087, allocations: 4 kB / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.1087, allocations: 0 / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.1103, allocations: 0.694 MB / 0.6836 GB, free: 38.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-06/0.1103, allocations: 4 kB / 0.6836 GB, free: 38.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.1103, allocations: 25.7 kB / 0.6836 GB, free: 38.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.1109, allocations: 295.7 kB / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.111, allocations: 0 / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.111, allocations: 0 / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.111, allocations: 0 / 0.6839 GB, free: 37.73 MB / 346.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.0003919/0.1114, allocations: 437 kB / 0.6843 GB, free: 37.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1114, allocations: 8.828 kB / 0.6843 GB, free: 37.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1115, allocations: 0 / 0.6843 GB, free: 37.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.981e-05/0.1115, allocations: 163.1 kB / 0.6845 GB, free: 37.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1116, allocations: 4 kB / 0.6845 GB, free: 37.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1116, allocations: 0 / 0.6845 GB, free: 37.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.1117, allocations: 29.69 kB / 0.6845 GB, free: 37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1117, allocations: 7.953 kB / 0.6845 GB, free: 36.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1117, allocations: 0 / 0.6845 GB, free: 36.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1117, allocations: 7.938 kB / 0.6845 GB, free: 36.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.1118, allocations: 4 kB / 0.6845 GB, free: 36.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.1119, allocations: 141.7 kB / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.875e-05/0.1119, allocations: 22.55 kB / 0.6847 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.112, allocations: 12.84 kB / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.112, allocations: 0 / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.112, allocations: 60.33 kB / 0.6848 GB, free: 36.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.112, allocations: 4 kB / 0.6848 GB, free: 36.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.1122, allocations: 67.3 kB / 0.6848 GB, free: 36.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1123, allocations: 77.11 kB / 0.6849 GB, free: 36.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.151e-05/0.1123, allocations: 93.84 kB / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.1123, allocations: 25.7 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.1124, allocations: 84.14 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1124, allocations: 0 / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.1124, allocations: 0 / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.1125, allocations: 319 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.1125, allocations: 0 / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.1125, allocations: 0 / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.1125, allocations: 29.7 kB / 0.6854 GB, free: 35.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1125, allocations: 0 / 0.6854 GB, free: 35.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.999e-05/0.1126, allocations: 67.27 kB / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.1127, allocations: 33.7 kB / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1127, allocations: 0 / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1127, allocations: 0 / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1127, allocations: 96 / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1127, allocations: 7.953 kB / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.1127, allocations: 0 / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1128, allocations: 8 kB / 0.6855 GB, free: 35.79 MB / 346.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 6.026e-05/0.1128, allocations: 131.5 kB / 0.6857 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.1129, allocations: 0 / 0.6857 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.072e-05/0.1129, allocations: 11.06 kB / 0.6857 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1129, allocations: 4 kB / 0.6857 GB, free: 35.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1129, allocations: 0 / 0.6857 GB, free: 35.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.1129, allocations: 85 kB / 0.6858 GB, free: 35.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1129, allocations: 4 kB / 0.6858 GB, free: 35.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.113, allocations: 0 / 0.6858 GB, free: 35.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.113, allocations: 0 / 0.6858 GB, free: 35.53 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.653e-05/0.1131, allocations: 202 kB / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001074/0.1132, allocations: 236.5 kB / 0.6862 GB, free: 35.05 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.061e-05/0.1133, allocations: 8.016 kB / 0.6862 GB, free: 35.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.439e-05/0.1133, allocations: 75.28 kB / 0.6863 GB, free: 34.97 MB / 346.7 MB Notification: Performance of Backend: time 7.92e-07/0.1133, allocations: 0 / 0.6863 GB, free: 34.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.1148, allocations: 384.8 kB / 0.6866 GB, free: 34.59 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002822/0.1151, allocations: 0.5853 MB / 0.6872 GB, free: 33.94 MB / 346.7 MB Notification: Performance of Templates: time 0.009477/0.1246, allocations: 3.532 MB / 0.6907 GB, free: 30.41 MB / 346.7 MB