Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002754/0.002754, allocations: 366.8 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.2/4.2, allocations: 388.9 MB / 405.6 MB, free: 9.652 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.003601/0.003601, allocations: 227.4 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.5695/0.5695, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006415, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1054, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.000643/0.1061, allocations: 232.3 kB / 0.6803 GB, free: 41.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.1093, allocations: 1.924 MB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1094, allocations: 0 / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1094, allocations: 0 / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.1094, allocations: 0 / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.1113, allocations: 401.4 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.563e-05/0.1114, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.1114, allocations: 4 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1115, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.301e-05/0.1115, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.1115, allocations: 4 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.113, allocations: 0.6434 MB / 0.6832 GB, free: 38.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.113, allocations: 3.938 kB / 0.6832 GB, free: 38.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.1131, allocations: 29.7 kB / 0.6832 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.1136, allocations: 251.5 kB / 0.6835 GB, free: 38.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1136, allocations: 0 / 0.6835 GB, free: 38.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1137, allocations: 0 / 0.6835 GB, free: 38.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1137, allocations: 0 / 0.6835 GB, free: 38.15 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.0004124/0.1141, allocations: 409 kB / 0.6839 GB, free: 37.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1141, allocations: 12.03 kB / 0.6839 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.1142, allocations: 4 kB / 0.6839 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.134e-05/0.1143, allocations: 159.1 kB / 0.684 GB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1143, allocations: 4 kB / 0.684 GB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1143, allocations: 0 / 0.684 GB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.529e-05/0.1144, allocations: 33.69 kB / 0.6841 GB, free: 37.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1144, allocations: 3.953 kB / 0.6841 GB, free: 37.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1144, allocations: 4 kB / 0.6841 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1145, allocations: 0 / 0.6841 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.095e-05/0.1145, allocations: 3.938 kB / 0.6841 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.1146, allocations: 145.7 kB / 0.6842 GB, free: 37.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.061e-05/0.1147, allocations: 22.59 kB / 0.6843 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.1147, allocations: 8.844 kB / 0.6843 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1147, allocations: 0 / 0.6843 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1148, allocations: 64.33 kB / 0.6843 GB, free: 37.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1148, allocations: 3.938 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.115, allocations: 71.3 kB / 0.6844 GB, free: 37.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.115, allocations: 81.09 kB / 0.6845 GB, free: 36.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.497e-05/0.1151, allocations: 89.86 kB / 0.6846 GB, free: 36.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.1151, allocations: 25.7 kB / 0.6846 GB, free: 36.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.1151, allocations: 80.14 kB / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1151, allocations: 4 kB / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.1151, allocations: 0 / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.1152, allocations: 310.8 kB / 0.685 GB, free: 36.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.1152, allocations: 8.125 kB / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-06/0.1152, allocations: 0 / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.1153, allocations: 25.7 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1153, allocations: 0 / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.268e-05/0.1154, allocations: 67.33 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.1154, allocations: 33.7 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1154, allocations: 0 / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1155, allocations: 0 / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.1155, allocations: 0 / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1155, allocations: 4.047 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.1155, allocations: 4 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1155, allocations: 3.938 kB / 0.6851 GB, free: 36.24 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 7.223e-05/0.1156, allocations: 140.3 kB / 0.6852 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1156, allocations: 3.984 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.159e-05/0.1157, allocations: 7.078 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1157, allocations: 0 / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1157, allocations: 4 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.1157, allocations: 81.34 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1157, allocations: 4 kB / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.1158, allocations: 0 / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.1158, allocations: 0 / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001018/0.1159, allocations: 202 kB / 0.6855 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001134/0.116, allocations: 232.5 kB / 0.6857 GB, free: 35.5 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.147e-05/0.1161, allocations: 7.953 kB / 0.6858 GB, free: 35.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.522e-05/0.1161, allocations: 79.34 kB / 0.6858 GB, free: 35.41 MB / 346.7 MB Notification: Performance of Backend: time 7.62e-07/0.1161, allocations: 0 / 0.6858 GB, free: 35.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.1176, allocations: 349.4 kB / 0.6862 GB, free: 35.07 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002687/0.1179, allocations: 0.5775 MB / 0.6867 GB, free: 34.43 MB / 346.7 MB Notification: Performance of Templates: time 0.00929/0.1272, allocations: 3.444 MB / 0.6901 GB, free: 30.98 MB / 346.7 MB