Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004184/0.004188, allocations: 368.3 kB / 15.96 MB, free: 6.199 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.372/4.372, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003633/0.003633, allocations: 237.4 kB / 451 MB, free: 145.1 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.5419/0.5419, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004602, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0006258/0.105, allocations: 232.4 kB / 0.6803 GB, free: 41.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.1082, allocations: 1.948 MB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.1083, allocations: 4 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.1083, allocations: 0 / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.1083, allocations: 0 / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.1102, allocations: 414.3 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.682e-05/0.1102, allocations: 3.984 kB / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.1103, allocations: 0 / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.1103, allocations: 0 / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.377e-05/0.1104, allocations: 3.984 kB / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.1104, allocations: 4 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.1117, allocations: 0.5927 MB / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-06/0.1118, allocations: 0 / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.1118, allocations: 25.7 kB / 0.6832 GB, free: 38.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.1124, allocations: 255.5 kB / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1124, allocations: 0 / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1124, allocations: 4 kB / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1124, allocations: 0 / 0.6835 GB, free: 38.18 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.0004236/0.1129, allocations: 411.2 kB / 0.6839 GB, free: 37.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.1129, allocations: 12.03 kB / 0.6839 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.113, allocations: 0 / 0.6839 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.1131, allocations: 163.1 kB / 0.684 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1131, allocations: 0 / 0.684 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1131, allocations: 4 kB / 0.684 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.457e-05/0.1132, allocations: 37.64 kB / 0.6841 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1132, allocations: 0 / 0.6841 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1132, allocations: 0 / 0.6841 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1133, allocations: 0 / 0.6841 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.1133, allocations: 3.938 kB / 0.6841 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.1134, allocations: 149.7 kB / 0.6842 GB, free: 37.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.1135, allocations: 22.52 kB / 0.6842 GB, free: 37.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.1135, allocations: 12.95 kB / 0.6843 GB, free: 37.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1135, allocations: 3.938 kB / 0.6843 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1136, allocations: 60.25 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.1136, allocations: 0 / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001852/0.1138, allocations: 67.3 kB / 0.6844 GB, free: 37.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1138, allocations: 77.11 kB / 0.6845 GB, free: 36.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.163e-05/0.1139, allocations: 93.86 kB / 0.6845 GB, free: 36.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1139, allocations: 29.83 kB / 0.6846 GB, free: 36.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.1139, allocations: 80.14 kB / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.114, allocations: 4 kB / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.114, allocations: 0 / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.114, allocations: 314.8 kB / 0.685 GB, free: 36.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.1141, allocations: 0 / 0.685 GB, free: 36.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.1141, allocations: 0 / 0.685 GB, free: 36.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.1141, allocations: 29.7 kB / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1141, allocations: 0 / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.21e-05/0.1142, allocations: 67.41 kB / 0.6851 GB, free: 36.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.1142, allocations: 37.69 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1143, allocations: 0 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1143, allocations: 0 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.1143, allocations: 0 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1143, allocations: 3.953 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.1143, allocations: 4 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1144, allocations: 0 / 0.6851 GB, free: 36.27 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.928e-05/0.1144, allocations: 136.4 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1145, allocations: 4 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.183e-05/0.1145, allocations: 7.078 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1145, allocations: 0 / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1145, allocations: 0 / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.1145, allocations: 85.05 kB / 0.6853 GB, free: 36.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1145, allocations: 0 / 0.6853 GB, free: 36.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.1146, allocations: 4 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1146, allocations: 0 / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.982e-05/0.1147, allocations: 198.1 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001138/0.1148, allocations: 240.4 kB / 0.6857 GB, free: 35.53 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.184e-05/0.1149, allocations: 0 / 0.6857 GB, free: 35.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.662e-05/0.1149, allocations: 79.28 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of Backend: time 6.52e-07/0.1149, allocations: 3.938 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.1163, allocations: 331.5 kB / 0.6861 GB, free: 35.11 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002863/0.1167, allocations: 0.5775 MB / 0.6867 GB, free: 34.47 MB / 346.7 MB Notification: Performance of Templates: time 0.00957/0.1262, allocations: 3.411 MB / 0.69 GB, free: 31.07 MB / 346.7 MB