Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 104.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 198.2 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2101/0.2101, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1215, allocations: 57.79 MB / 0.4886 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001695/0.1232, allocations: 0.5301 MB / 0.4891 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.1242, allocations: 444 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.1243, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.228e-05/0.1244, allocations: 3.938 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1245, allocations: 19.91 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.1253, allocations: 163.6 kB / 0.4897 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1254, allocations: 83.84 kB / 0.4898 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.1255, allocations: 4 kB / 0.4898 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.1256, allocations: 39.91 kB / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1278, allocations: 374.7 kB / 0.4902 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.1279, allocations: 4 kB / 0.4902 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.116e-05/0.128, allocations: 15.98 kB / 0.4902 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.128, allocations: 19.97 kB / 0.4902 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.1281, allocations: 35.78 kB / 0.4902 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1283, allocations: 63.83 kB / 0.4903 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1283, allocations: 4 kB / 0.4903 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1283, allocations: 0 / 0.4903 GB, free: 10.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1283, allocations: 4 kB / 0.4903 GB, free: 10.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005188/0.1288, allocations: 396.5 kB / 0.4907 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1289, allocations: 8.031 kB / 0.4907 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.1289, allocations: 8.844 kB / 0.4907 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.1291, allocations: 180.3 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1291, allocations: 8.359 kB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1292, allocations: 4.375 kB / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1294, allocations: 90.19 kB / 0.491 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1294, allocations: 4.188 kB / 0.491 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1294, allocations: 11.91 kB / 0.491 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1294, allocations: 0 / 0.491 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.1295, allocations: 27.92 kB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.1297, allocations: 165.7 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.895e-05/0.1298, allocations: 52.08 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.1299, allocations: 20.91 kB / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1299, allocations: 4 kB / 0.4912 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.1301, allocations: 135.2 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1302, allocations: 0 / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000305/0.1305, allocations: 125.7 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1305, allocations: 59.34 kB / 0.4915 GB, free: 8.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.1306, allocations: 105.8 kB / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1306, allocations: 29.7 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.1307, allocations: 80.14 kB / 0.4917 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1307, allocations: 31.64 kB / 0.4918 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.1308, allocations: 25.72 kB / 0.4918 GB, free: 8.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1309, allocations: 322.8 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.131, allocations: 23.92 kB / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-05/0.1311, allocations: 78.91 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1313, allocations: 144.4 kB / 0.4923 GB, free: 7.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1313, allocations: 0 / 0.4923 GB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002349/0.1315, allocations: 159.1 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.1316, allocations: 45.62 kB / 0.4925 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1316, allocations: 4.219 kB / 0.4925 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1316, allocations: 4 kB / 0.4925 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1317, allocations: 15.94 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1317, allocations: 4 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.1318, allocations: 7.984 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1318, allocations: 4 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: y:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (id,cnt[3],$PRE.cnt[3],cnt[2],$PRE.cnt[2],cnt[1],$PRE.cnt[1],$PRE.y,y,$whenCondition2,$whenCondition1,samples,$PRE.samples) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1319, allocations: 130 kB / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.132, allocations: 11.84 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.1321, allocations: 19.89 kB / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1321, allocations: 0 / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1321, allocations: 0 / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1321, allocations: 88.95 kB / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1322, allocations: 4 kB / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.1324, allocations: 16.03 kB / 0.4928 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1324, allocations: 15.98 kB / 0.4928 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001997/0.1326, allocations: 168.9 kB / 0.493 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002394/0.1328, allocations: 282.7 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.16e-05/0.1329, allocations: 31.92 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.133, allocations: 79.45 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of Backend: time 1.61e-07/0.133, allocations: 0 / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005743/0.1335, allocations: 209.3 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004468/0.134, allocations: 0.5682 MB / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of Templates: time 0.00424/0.1383, allocations: 1.589 MB / 0.4957 GB, free: 4.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1)