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.0016/0.0016, allocations: 113.4 kB / 17.04 MB, free: 6.078 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.001735/0.001735, allocations: 195 kB / 17.97 MB, free: 5.16 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.676/1.676, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2507/0.2507, allocations: 43.53 MB / 314.7 MB, free: 492 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.001555/0.001556, allocations: 65.08 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1341, allocations: 57.8 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001888/0.136, allocations: 0.5301 MB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.1369, allocations: 450.3 kB / 442.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.137, allocations: 0 / 442.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1371, allocations: 3.938 kB / 443 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1373, allocations: 15.86 kB / 443 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.1379, allocations: 171.2 kB / 443.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.138, allocations: 79.91 kB / 443.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.1381, allocations: 0 / 443.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.1381, allocations: 43.91 kB / 443.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.1403, allocations: 377.7 kB / 443.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.1404, allocations: 4 kB / 443.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.1404, allocations: 19.98 kB / 443.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.1405, allocations: 27.89 kB / 443.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.1406, allocations: 15.92 kB / 443.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1407, allocations: 67.83 kB / 443.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1408, allocations: 4 kB / 443.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1408, allocations: 0 / 443.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1408, allocations: 0 / 443.8 MB, free: 4.457 MB / 318.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.0005582/0.1413, allocations: 401 kB / 444.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1414, allocations: 12.03 kB / 444.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.1415, allocations: 8.844 kB / 444.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1417, allocations: 180.3 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1417, allocations: 384 / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1417, allocations: 4.375 kB / 444.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1419, allocations: 98.11 kB / 444.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1419, allocations: 192 / 444.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.142, allocations: 7.938 kB / 444.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.142, allocations: 4 kB / 444.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.142, allocations: 23.97 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.1422, allocations: 161.7 kB / 444.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.1423, allocations: 46.56 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.1424, allocations: 20.91 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1424, allocations: 4 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.1426, allocations: 135.2 kB / 444.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1426, allocations: 0 / 444.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003088/0.1429, allocations: 129.4 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.143, allocations: 59.39 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.1431, allocations: 93.86 kB / 445.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1431, allocations: 37.69 kB / 445.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.1431, allocations: 80.14 kB / 445.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1432, allocations: 31.8 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1432, allocations: 29.7 kB / 445.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.1433, allocations: 322.8 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.1433, allocations: 19.98 kB / 445.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.1434, allocations: 82.73 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1436, allocations: 144.5 kB / 445.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1436, allocations: 0 / 445.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001702/0.1438, allocations: 163.1 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.1438, allocations: 37.64 kB / 446 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1438, allocations: 0 / 446 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1438, allocations: 4.219 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.144, allocations: 23.92 kB / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.144, allocations: 4 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.144, allocations: 8 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.144, allocations: 4 kB / 446.1 MB, free: 1.824 MB / 318.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.0001384/0.1442, allocations: 133.6 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1442, allocations: 7.938 kB / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.1443, allocations: 11.97 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1443, allocations: 0 / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1443, allocations: 4 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1443, allocations: 7.922 kB / 446.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1444, allocations: 165.7 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1444, allocations: 0 / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1445, allocations: 7.984 kB / 446.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1445, allocations: 3.938 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1445, allocations: 4.281 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1445, allocations: 0 / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1445, allocations: 0 / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1447, allocations: 136.9 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.1447, allocations: 85.05 kB / 446.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1447, allocations: 8 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.1449, allocations: 20.14 kB / 446.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.145, allocations: 12.03 kB / 446.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.145, allocations: 12 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.708e-05/0.145, allocations: 83.27 kB / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1453, allocations: 24 kB / 446.8 MB, free: 1.012 MB / 318.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.0002753/0.1456, allocations: 115.3 kB / 446.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1458, allocations: 127.2 kB / 447 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1458, allocations: 448 / 447 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.1458, allocations: 31.92 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.146, allocations: 11.75 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.1464, allocations: 144.9 kB / 447.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1466, allocations: 0.6845 MB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.893e-05/0.1466, allocations: 12.66 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.1467, allocations: 19.42 kB / 447.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1467, allocations: 7.938 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Templates: time 0.004312/0.151, allocations: 1.444 MB / 449.4 MB, free: 14.35 MB / 334.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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1)