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.001325/0.001325, allocations: 105.7 kB / 16.41 MB, free: 6.438 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.001294/0.001294, allocations: 189.2 kB / 17.34 MB, free: 5.746 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.464/1.464, allocations: 205.1 MB / 223.2 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.2128/0.2128, allocations: 43.52 MB / 314.1 MB, free: 460 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.00135/0.00135, allocations: 73.94 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1349, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001667/0.1366, allocations: 0.5338 MB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.1376, allocations: 438.3 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.1376, allocations: 3.938 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.63e-05/0.1377, allocations: 3.938 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1379, allocations: 15.97 kB / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.1385, allocations: 171.5 kB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1387, allocations: 79.86 kB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.1387, allocations: 0 / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1388, allocations: 43.89 kB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.141, allocations: 391.6 kB / 0.4895 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.1411, allocations: 4 kB / 0.4895 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.1411, allocations: 12 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.1412, allocations: 23.95 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.1413, allocations: 27.84 kB / 0.4896 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1414, allocations: 71.83 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1414, allocations: 0 / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1414, allocations: 0 / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1415, allocations: 4 kB / 0.4896 GB, free: 10.07 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.00057/0.142, allocations: 397 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1421, allocations: 12.03 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.1421, allocations: 4.844 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1423, allocations: 180.3 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1424, allocations: 4.375 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1424, allocations: 384 / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1426, allocations: 94.19 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1426, allocations: 192 / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1426, allocations: 11.94 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1426, allocations: 0 / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/0.1427, allocations: 27.91 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1429, allocations: 165.7 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.143, allocations: 38.56 kB / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.1431, allocations: 28.91 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1431, allocations: 0 / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1433, allocations: 135.4 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1433, allocations: 0 / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000279/0.1436, allocations: 129.4 kB / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.1437, allocations: 55.41 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.1438, allocations: 97.86 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1438, allocations: 37.69 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1438, allocations: 80.14 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1439, allocations: 27.94 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.1439, allocations: 33.7 kB / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1441, allocations: 314.8 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.1441, allocations: 35.86 kB / 0.4915 GB, free: 7.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.1442, allocations: 74.8 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1444, allocations: 148.4 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1444, allocations: 0 / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000208/0.1446, allocations: 163.1 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.1447, allocations: 33.64 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.1447, allocations: 4.219 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1447, allocations: 8 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1448, allocations: 15.98 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1448, allocations: 3.938 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1449, allocations: 8 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1449, allocations: 8 kB / 0.4919 GB, free: 7.438 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.0001333/0.145, allocations: 129.8 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1451, allocations: 11.84 kB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.1451, allocations: 7.969 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1451, allocations: 3.984 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1451, allocations: 0 / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1451, allocations: 0 / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1453, allocations: 177.6 kB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1453, allocations: 192 / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.1453, allocations: 11.92 kB / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1454, allocations: 3.938 kB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1454, allocations: 3.984 kB / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1454, allocations: 0 / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1454, allocations: 4 kB / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1456, allocations: 136.9 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.1457, allocations: 85.05 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1457, allocations: 3.984 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.1459, allocations: 20.05 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.1459, allocations: 3.984 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1459, allocations: 8 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.699e-05/0.146, allocations: 87.27 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.146, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1462, allocations: 20 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,y,cnt[1],cnt[2],cnt[3],samples) * Number of discrete states: 4 (cnt[1],cnt[2],cnt[3],samples) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.1464, allocations: 123.1 kB / 0.4927 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1467, allocations: 123.2 kB / 0.4928 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1467, allocations: 4.438 kB / 0.4928 GB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.698e-05/0.1467, allocations: 35.97 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1469, allocations: 12.27 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.1472, allocations: 144.8 kB / 0.493 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1475, allocations: 0.6807 MB / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.352e-05/0.1476, allocations: 16.59 kB / 0.4937 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1476, allocations: 23.42 kB / 0.4937 GB, free: 5.398 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1476, allocations: 0 / 0.4937 GB, free: 5.398 MB / 382.1 MB Notification: Performance of Templates: time 0.003749/0.1513, allocations: 1.448 MB / 0.4951 GB, free: 3.953 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)