Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.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.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002875/0.00288, allocations: 366 kB / 15.96 MB, free: 6.18 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.065/4.065, allocations: 388.9 MB / 405.6 MB, free: 9.551 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.003635/0.003634, allocations: 242 kB / 451 MB, free: 144.9 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.5269/0.5269, allocations: 80.02 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004979, allocations: 11.47 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1034, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.000719/0.1042, allocations: 256.4 kB / 0.6803 GB, free: 41.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1054, allocations: 0.5584 MB / 0.6809 GB, free: 40.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.1055, allocations: 0 / 0.6809 GB, free: 40.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.031e-05/0.1056, allocations: 3.938 kB / 0.6809 GB, free: 40.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.1056, allocations: 8 kB / 0.6809 GB, free: 40.81 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000804/0.1064, allocations: 166.2 kB / 0.6811 GB, free: 40.65 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.1065, allocations: 23.97 kB / 0.6811 GB, free: 40.62 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1065, allocations: 0 / 0.6811 GB, free: 40.62 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.1066, allocations: 23.92 kB / 0.6811 GB, free: 40.6 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.1066, allocations: 15.88 kB / 0.6811 GB, free: 40.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1066, allocations: 4 kB / 0.6811 GB, free: 40.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.107, allocations: 155.8 kB / 0.6813 GB, free: 40.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.1071, allocations: 59.89 kB / 0.6813 GB, free: 40.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.1071, allocations: 45.58 kB / 0.6814 GB, free: 40.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1074, allocations: 143.8 kB / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1074, allocations: 0 / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1074, allocations: 0 / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1074, allocations: 0 / 0.6815 GB, free: 40.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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005377/0.108, allocations: 460.5 kB / 0.682 GB, free: 39.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.108, allocations: 12.03 kB / 0.682 GB, free: 39.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.1081, allocations: 19.75 kB / 0.682 GB, free: 39.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.606e-05/0.1082, allocations: 182.9 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1082, allocations: 12 kB / 0.6822 GB, free: 39.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1083, allocations: 31.98 kB / 0.6822 GB, free: 39.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1085, allocations: 124.2 kB / 0.6823 GB, free: 39.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1085, allocations: 4 kB / 0.6823 GB, free: 39.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1085, allocations: 3.953 kB / 0.6823 GB, free: 39.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1085, allocations: 0 / 0.6823 GB, free: 39.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1087, allocations: 100.4 kB / 0.6824 GB, free: 39.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.1089, allocations: 218.2 kB / 0.6826 GB, free: 38.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.109, allocations: 167 kB / 0.6828 GB, free: 38.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1092, allocations: 157.7 kB / 0.6829 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.1092, allocations: 0 / 0.6829 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1095, allocations: 169.9 kB / 0.6831 GB, free: 38.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=54): time 1.683e-06/0.1095, allocations: 0 / 0.6831 GB, free: 38.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.001265/0.1108, allocations: 0.7694 MB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.1109, allocations: 103.8 kB / 0.684 GB, free: 37.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.1109, allocations: 117.6 kB / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/0.111, allocations: 73.72 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.1111, allocations: 89.45 kB / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.1112, allocations: 142.5 kB / 0.6844 GB, free: 37.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.1112, allocations: 12 kB / 0.6844 GB, free: 37.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.1113, allocations: 346.8 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.1118, allocations: 189.8 kB / 0.6849 GB, free: 36.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.1123, allocations: 0.5253 MB / 0.6854 GB, free: 35.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.1129, allocations: 271.7 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.1129, allocations: 7.938 kB / 0.6857 GB, free: 35.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001462/0.1144, allocations: 0.7351 MB / 0.6864 GB, free: 34.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1144, allocations: 8 kB / 0.6864 GB, free: 34.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.1145, allocations: 12 kB / 0.6864 GB, free: 34.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/0.1145, allocations: 20 kB / 0.6864 GB, free: 34.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.1151, allocations: 120.4 kB / 0.6865 GB, free: 34.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/0.1152, allocations: 27.91 kB / 0.6866 GB, free: 34.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.1155, allocations: 67.39 kB / 0.6866 GB, free: 34.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.1156, allocations: 40 kB / 0.6867 GB, free: 34.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002903/0.1159, allocations: 246.2 kB / 0.6869 GB, free: 34.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.1159, allocations: 15.75 kB / 0.6869 GB, free: 34.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.1159, allocations: 5.875 kB / 0.6869 GB, free: 34.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1159, allocations: 0 / 0.6869 GB, free: 34.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.116, allocations: 4 kB / 0.6869 GB, free: 34.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.116, allocations: 100.8 kB / 0.687 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.116, allocations: 3.953 kB / 0.687 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.1161, allocations: 3.984 kB / 0.687 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.1161, allocations: 0 / 0.687 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009546/0.1171, allocations: 0.6287 MB / 0.6876 GB, free: 33.5 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009603/0.118, allocations: 0.7253 MB / 0.6883 GB, free: 32.75 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001474/0.1182, allocations: 152.4 kB / 0.6885 GB, free: 32.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.905e-05/0.1182, allocations: 79.23 kB / 0.6886 GB, free: 32.53 MB / 346.7 MB Notification: Performance of Backend: time 8.71e-07/0.1182, allocations: 0 / 0.6886 GB, free: 32.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.1199, allocations: 0.549 MB / 0.6891 GB, free: 32.01 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006815/0.1206, allocations: 0.8283 MB / 0.6899 GB, free: 31.14 MB / 346.7 MB Notification: Performance of Templates: time 0.008492/0.1291, allocations: 2.793 MB / 0.6926 GB, free: 28.34 MB / 346.7 MB