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.00146/0.00146, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001364/0.001364, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.766/1.766, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2358/0.2358, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001622/0.001623, allocations: 70.83 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1413, allocations: 57.8 MB / 440.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.003267/0.1447, allocations: 0.5364 MB / 441.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.1456, allocations: 455.9 kB / 441.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.1457, allocations: 0 / 441.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.1458, allocations: 0 / 441.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1459, allocations: 7.922 kB / 441.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1464, allocations: 171.1 kB / 441.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1466, allocations: 87.8 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.1466, allocations: 0 / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.1467, allocations: 39.95 kB / 441.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.149, allocations: 376.6 kB / 442.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.149, allocations: 8 kB / 442.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.1491, allocations: 19.98 kB / 442.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.1492, allocations: 19.97 kB / 442.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.1493, allocations: 23.91 kB / 442.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1495, allocations: 71.77 kB / 442.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1495, allocations: 0 / 442.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1495, allocations: 0 / 442.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1495, allocations: 0 / 442.3 MB, free: 5.172 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.0005723/0.1501, allocations: 393.4 kB / 442.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1501, allocations: 16.03 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.1502, allocations: 4.844 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1504, allocations: 184.3 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1504, allocations: 4.375 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1504, allocations: 384 / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1506, allocations: 86.2 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1507, allocations: 192 / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1507, allocations: 15.92 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1507, allocations: 3.938 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.1508, allocations: 19.98 kB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.151, allocations: 165.7 kB / 443.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.314e-05/0.1511, allocations: 46.5 kB / 443.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.1511, allocations: 28.84 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1512, allocations: 3.984 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.1514, allocations: 139.5 kB / 443.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1514, allocations: 0 / 443.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003522/0.1518, allocations: 125.4 kB / 443.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1519, allocations: 55.41 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.1519, allocations: 97.84 kB / 443.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.152, allocations: 33.7 kB / 443.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.152, allocations: 80.14 kB / 443.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.1521, allocations: 27.7 kB / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.1521, allocations: 33.66 kB / 443.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.1522, allocations: 318.8 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.1523, allocations: 23.98 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.1523, allocations: 82.78 kB / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1525, allocations: 144.4 kB / 444.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1525, allocations: 0 / 444.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000198/0.1527, allocations: 159.1 kB / 444.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.1527, allocations: 37.62 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.1528, allocations: 7.938 kB / 444.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1528, allocations: 7.938 kB / 444.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1529, allocations: 12 kB / 444.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.1529, allocations: 4.203 kB / 444.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.153, allocations: 12 kB / 444.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.153, allocations: 8 kB / 444.6 MB, free: 2.539 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.0001556/0.1532, allocations: 129.6 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1532, allocations: 11.92 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.1532, allocations: 7.969 kB / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1532, allocations: 0 / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1532, allocations: 0 / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1533, allocations: 4 kB / 444.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1534, allocations: 177.6 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1534, allocations: 288 / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.1534, allocations: 4 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1534, allocations: 3.938 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1535, allocations: 3.938 kB / 445 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1535, allocations: 3.984 kB / 445 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1535, allocations: 4 kB / 445 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.1536, allocations: 129 kB / 445.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.1537, allocations: 89.03 kB / 445.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1537, allocations: 12 kB / 445.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1539, allocations: 19.97 kB / 445.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.1539, allocations: 0 / 445.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.154, allocations: 11.98 kB / 445.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.658e-05/0.154, allocations: 79.28 kB / 445.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.154, allocations: 0 / 445.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1542, allocations: 20 kB / 445.3 MB, free: 1.742 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.0002502/0.1545, allocations: 131.7 kB / 445.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1547, allocations: 131.2 kB / 445.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1547, allocations: 0 / 445.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.1548, allocations: 35.97 kB / 445.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.1549, allocations: 7.719 kB / 445.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.1553, allocations: 137 kB / 445.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.1554, allocations: 0.6884 MB / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.1555, allocations: 16.59 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.1555, allocations: 19.44 kB / 446.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1555, allocations: 7.938 kB / 446.5 MB, free: 0.5 MB / 318.1 MB Notification: Performance of Templates: time 0.004706/0.1602, allocations: 1.433 MB / 447.9 MB, free: 15.07 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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1)