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.0009789/0.0009789, allocations: 79.92 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.001788/0.001788, allocations: 169 kB / 24.14 MB, free: 360 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 0.9709/0.9709, allocations: 158.6 MB / 186 MB, free: 2.77 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.1457/0.1457, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 2.054e-06/2.054e-06, allocations: 0 / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.842e-05, allocations: 6.25 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001385/0.001414, allocations: 0.5875 MB / 299.7 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.002119, allocations: 451.2 kB / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.002159, allocations: 0 / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.708e-05/0.002236, allocations: 7.922 kB / 300.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.002348, allocations: 11.92 kB / 300.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.00285, allocations: 171.3 kB / 300.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.003, allocations: 87.83 kB / 300.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.003034, allocations: 7.984 kB / 300.4 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.003109, allocations: 39.95 kB / 300.5 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.004827, allocations: 0.6611 MB / 301.1 MB, free: 144 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.00487, allocations: 4 kB / 301.1 MB, free: 140 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.004953, allocations: 8 kB / 301.1 MB, free: 132 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.005, allocations: 23.95 kB / 301.2 MB, free: 108 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.005036, allocations: 19.97 kB / 301.2 MB, free: 88 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1461/0.1511, allocations: 88.7 kB / 301.3 MB, free: 19.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1511, allocations: 0 / 301.3 MB, free: 19.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1511, allocations: 0.8438 kB / 301.3 MB, free: 19.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1511, allocations: 0 / 301.3 MB, free: 19.77 MB / 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.0003667/0.1515, allocations: 284.1 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1515, allocations: 10.56 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.1516, allocations: 12.31 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1517, allocations: 122 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.1517, allocations: 5.094 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.1517, allocations: 5.688 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1518, allocations: 79.53 kB / 301.8 MB, free: 19.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1518, allocations: 192 / 301.8 MB, free: 19.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1518, allocations: 2.219 kB / 301.8 MB, free: 19.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1518, allocations: 1.344 kB / 301.8 MB, free: 19.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.1519, allocations: 16.44 kB / 301.8 MB, free: 19.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.646e-05/0.152, allocations: 68.55 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.868e-05/0.152, allocations: 37.58 kB / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.152, allocations: 13.84 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.152, allocations: 3.688 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1522, allocations: 110.6 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.1522, allocations: 0 / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001365/0.1523, allocations: 78.08 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.1523, allocations: 57.03 kB / 302.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.1524, allocations: 104.7 kB / 302.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1524, allocations: 32.45 kB / 302.3 MB, free: 18.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.1524, allocations: 82.14 kB / 302.4 MB, free: 18.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1524, allocations: 27.38 kB / 302.4 MB, free: 18.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1525, allocations: 33.16 kB / 302.4 MB, free: 18.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.1525, allocations: 325.7 kB / 302.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.1525, allocations: 36.03 kB / 302.8 MB, free: 18.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.1526, allocations: 92.3 kB / 302.9 MB, free: 18.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.81e-05/0.1527, allocations: 128.3 kB / 303 MB, free: 18.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1527, allocations: 0 / 303 MB, free: 18.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00011/0.1528, allocations: 146.8 kB / 303.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1528, allocations: 33.94 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1528, allocations: 6.219 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1528, allocations: 3.328 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.1529, allocations: 31.86 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1529, allocations: 3.219 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.1529, allocations: 12.8 kB / 303.2 MB, free: 18.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1529, allocations: 4.188 kB / 303.2 MB, free: 18.17 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 8.383e-05/0.153, allocations: 128.8 kB / 303.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.153, allocations: 7.75 kB / 303.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.153, allocations: 13.38 kB / 303.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1531, allocations: 4.844 kB / 303.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1531, allocations: 0.6562 kB / 303.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1531, allocations: 1.188 kB / 303.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.864e-05/0.1531, allocations: 79.09 kB / 303.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1531, allocations: 1.969 kB / 303.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.1531, allocations: 6.672 kB / 303.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1531, allocations: 1.719 kB / 303.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1531, allocations: 2.359 kB / 303.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1531, allocations: 1.203 kB / 303.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1531, allocations: 4.156 kB / 303.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.655e-05/0.1532, allocations: 107.1 kB / 303.6 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.1532, allocations: 6.078 kB / 303.6 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1533, allocations: 4.688 kB / 303.6 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.1533, allocations: 11.47 kB / 303.6 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.1534, allocations: 10.14 kB / 303.6 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1534, allocations: 6.781 kB / 303.6 MB, free: 17.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.009e-05/0.1534, allocations: 10.41 kB / 303.6 MB, free: 17.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1534, allocations: 0 / 303.6 MB, free: 17.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.1535, allocations: 21.48 kB / 303.6 MB, free: 17.89 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.0002156/0.1537, allocations: 116 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.1538, allocations: 133.8 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1538, allocations: 1.25 kB / 303.9 MB, free: 17.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.1539, allocations: 32.06 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.196e-05/0.1539, allocations: 23.44 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.1542, allocations: 139.4 kB / 304.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.937e-05/0.1542, allocations: 57.67 kB / 304.1 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.398e-05/0.1542, allocations: 19.02 kB / 304.2 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1543, allocations: 59.03 kB / 304.2 MB, free: 17.47 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1543, allocations: 0 / 304.2 MB, free: 17.47 MB / 282.7 MB Notification: Performance of Templates: time 0.003443/0.1577, allocations: 1.716 MB / 305.9 MB, free: 17.33 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8101599370129406]