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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 173.3 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.017/1.017, allocations: 158.6 MB / 186 MB, free: 2.312 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1463/0.1463, allocations: 32.38 MB / 270.7 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6001,variableFilter="time|y|cnt.[0-9,]+.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6001,variableFilter="time|y|cnt.[0-9,]+.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.122e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001283/0.001304, allocations: 0.5405 MB / 299.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.005118, allocations: 459.1 kB / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.005156, allocations: 0 / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.26e-05/0.005239, allocations: 3.938 kB / 300.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.005368, allocations: 11.97 kB / 300.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.006004, allocations: 179.3 kB / 300.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.006153, allocations: 83.84 kB / 300.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.006188, allocations: 3.984 kB / 300.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.006269, allocations: 47.95 kB / 300.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004946/0.01121, allocations: 0.6339 MB / 301 MB, free: 224 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.01125, allocations: 4 kB / 301 MB, free: 220 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.786e-05/0.01132, allocations: 19.98 kB / 301 MB, free: 200 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.01137, allocations: 23.91 kB / 301.1 MB, free: 176 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.0114, allocations: 23.95 kB / 301.1 MB, free: 152 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.01157, allocations: 79.7 kB / 301.2 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.01157, allocations: 3.984 kB / 301.2 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01157, allocations: 0 / 301.2 MB, free: 68 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.01157, allocations: 0 / 301.2 MB, free: 68 kB / 282.7 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.1629/0.1744, allocations: 283.2 kB / 301.4 MB, free: 19.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1745, allocations: 9.938 kB / 301.5 MB, free: 19.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1745, allocations: 8.859 kB / 301.5 MB, free: 19.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1747, allocations: 123.5 kB / 301.6 MB, free: 19.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1747, allocations: 4.922 kB / 301.6 MB, free: 19.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1747, allocations: 10.42 kB / 301.6 MB, free: 19.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1748, allocations: 80.34 kB / 301.7 MB, free: 19.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1748, allocations: 0.9375 kB / 301.7 MB, free: 19.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1749, allocations: 2.125 kB / 301.7 MB, free: 19.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1749, allocations: 1.469 kB / 301.7 MB, free: 19.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.1749, allocations: 18.61 kB / 301.7 MB, free: 19.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.742e-05/0.175, allocations: 64.53 kB / 301.8 MB, free: 19.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.175, allocations: 37.44 kB / 301.8 MB, free: 19.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.1751, allocations: 12.78 kB / 301.8 MB, free: 19.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1751, allocations: 4.172 kB / 301.8 MB, free: 19.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.1752, allocations: 109.9 kB / 301.9 MB, free: 19.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1752, allocations: 0 / 301.9 MB, free: 19.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000158/0.1754, allocations: 85.08 kB / 302 MB, free: 19.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1754, allocations: 57.23 kB / 302.1 MB, free: 19.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.582e-05/0.1755, allocations: 101.4 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1755, allocations: 31.17 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.652e-05/0.1755, allocations: 81.8 kB / 302.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1755, allocations: 32.86 kB / 302.3 MB, free: 19.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1756, allocations: 34.25 kB / 302.3 MB, free: 19.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.1756, allocations: 324.7 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.1756, allocations: 39.53 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.1757, allocations: 86.58 kB / 302.8 MB, free: 18.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.784e-05/0.1758, allocations: 125.9 kB / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1758, allocations: 0 / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001121/0.1759, allocations: 148.9 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1759, allocations: 37.5 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1759, allocations: 1.406 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1759, allocations: 3.453 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.176, allocations: 29.95 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1761, allocations: 3.844 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.1761, allocations: 14.97 kB / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1761, allocations: 9.453 kB / 303.1 MB, free: 18.4 MB / 282.7 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 9.941e-05/0.1762, allocations: 134 kB / 303.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1762, allocations: 9.5 kB / 303.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1762, allocations: 9.328 kB / 303.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1762, allocations: 1.562 kB / 303.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1762, allocations: 0 / 303.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1762, allocations: 1.219 kB / 303.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.987e-05/0.1763, allocations: 74.66 kB / 303.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1763, allocations: 4.469 kB / 303.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.1763, allocations: 9.672 kB / 303.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1763, allocations: 1.031 kB / 303.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1763, allocations: 2.344 kB / 303.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1763, allocations: 0.7031 kB / 303.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1763, allocations: 0 / 303.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.536e-05/0.1764, allocations: 103.4 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.1765, allocations: 7.766 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1765, allocations: 7.719 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.1766, allocations: 11.58 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.1766, allocations: 10.03 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1766, allocations: 4.391 kB / 303.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.085e-05/0.1766, allocations: 9.484 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1766, allocations: 3.5 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.1767, allocations: 22.16 kB / 303.6 MB, free: 18.12 MB / 282.7 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.0002307/0.177, allocations: 118.2 kB / 303.7 MB, free: 18.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1771, allocations: 139.3 kB / 303.8 MB, free: 17.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1771, allocations: 1.219 kB / 303.8 MB, free: 17.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.1771, allocations: 28.36 kB / 303.8 MB, free: 17.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.703e-05/0.1772, allocations: 22.66 kB / 303.9 MB, free: 17.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.1775, allocations: 134.5 kB / 304 MB, free: 17.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.357e-05/0.1775, allocations: 58.88 kB / 304.1 MB, free: 17.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.212e-05/0.1775, allocations: 18.58 kB / 304.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1776, allocations: 58.52 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1776, allocations: 0 / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of Templates: time 0.003724/0.1813, allocations: 1.718 MB / 305.8 MB, free: 17.57 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.105550025124103]