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.001576/0.001576, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.001627/0.001627, allocations: 213.1 kB / 22.99 MB, free: 4.602 MB / 14.72 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.627/1.627, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.241/0.241, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.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=6001,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 71.91 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.163, allocations: 61.03 MB / 0.5166 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.002158/0.1651, allocations: 0.5454 MB / 0.5172 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1663, allocations: 433.2 kB / 0.5176 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.1663, allocations: 4 kB / 0.5176 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.1664, allocations: 3.984 kB / 0.5176 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1665, allocations: 7.938 kB / 0.5176 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.1672, allocations: 175.5 kB / 0.5178 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1674, allocations: 79.89 kB / 0.5178 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.1675, allocations: 11.94 kB / 0.5179 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.1675, allocations: 43.91 kB / 0.5179 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.1709, allocations: 453.6 kB / 0.5183 GB, free: 5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.171, allocations: 4 kB / 0.5183 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1711, allocations: 23.97 kB / 0.5184 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.1712, allocations: 23.91 kB / 0.5184 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.1712, allocations: 23.86 kB / 0.5184 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1714, allocations: 67.77 kB / 0.5185 GB, free: 4.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1714, allocations: 0 / 0.5185 GB, free: 4.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1714, allocations: 0 / 0.5185 GB, free: 4.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1714, allocations: 0 / 0.5185 GB, free: 4.859 MB / 398.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.0006368/0.1721, allocations: 316 kB / 0.5188 GB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.1721, allocations: 11.97 kB / 0.5188 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.1722, allocations: 12.89 kB / 0.5188 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1724, allocations: 122.5 kB / 0.5189 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1724, allocations: 12.31 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1725, allocations: 384 / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1727, allocations: 94.17 kB / 0.519 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1727, allocations: 192 / 0.519 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.1727, allocations: 11.94 kB / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1727, allocations: 0 / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.1728, allocations: 23.97 kB / 0.519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.173, allocations: 109.3 kB / 0.5191 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1731, allocations: 46.5 kB / 0.5192 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.1732, allocations: 16.91 kB / 0.5192 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1732, allocations: 8 kB / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.1735, allocations: 131.3 kB / 0.5193 GB, free: 3.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 5.18e-06/0.1735, allocations: 3.984 kB / 0.5193 GB, free: 3.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003365/0.1738, allocations: 125.5 kB / 0.5195 GB, free: 3.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1739, allocations: 55.41 kB / 0.5195 GB, free: 3.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.174, allocations: 101.8 kB / 0.5196 GB, free: 3.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.174, allocations: 29.7 kB / 0.5196 GB, free: 3.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.1741, allocations: 88.14 kB / 0.5197 GB, free: 3.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.1741, allocations: 35.88 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1742, allocations: 25.72 kB / 0.5198 GB, free: 3.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1743, allocations: 322.8 kB / 0.5201 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.1744, allocations: 49.62 kB / 0.5201 GB, free: 2.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1745, allocations: 100.8 kB / 0.5202 GB, free: 2.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1748, allocations: 152.4 kB / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1748, allocations: 0 / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002593/0.1751, allocations: 184.9 kB / 0.5206 GB, free: 2.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.1751, allocations: 29.7 kB / 0.5206 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1751, allocations: 7.938 kB / 0.5206 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1751, allocations: 224 / 0.5206 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1752, allocations: 27.92 kB / 0.5206 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1753, allocations: 0 / 0.5206 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1753, allocations: 8.016 kB / 0.5206 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1753, allocations: 12 kB / 0.5206 GB, free: 2.363 MB / 398.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.0001873/0.1755, allocations: 133.7 kB / 0.5208 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1755, allocations: 3.953 kB / 0.5208 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.1756, allocations: 16 kB / 0.5208 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1756, allocations: 0 / 0.5208 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1756, allocations: 4 kB / 0.5208 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1756, allocations: 0 / 0.5208 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1758, allocations: 117.2 kB / 0.5209 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1758, allocations: 0 / 0.5209 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.1758, allocations: 7.984 kB / 0.5209 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1758, allocations: 4 kB / 0.5209 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1758, allocations: 0 / 0.5209 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1758, allocations: 3.938 kB / 0.5209 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1758, allocations: 0 / 0.5209 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1761, allocations: 137 kB / 0.521 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.1761, allocations: 4 kB / 0.5211 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1761, allocations: 8 kB / 0.5211 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.1763, allocations: 23.91 kB / 0.5211 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.1763, allocations: 7.984 kB / 0.5211 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1764, allocations: 4 kB / 0.5211 GB, free: 1.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.1764, allocations: 83.27 kB / 0.5212 GB, free: 1.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1764, allocations: 0 / 0.5212 GB, free: 1.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1767, allocations: 20 kB / 0.5212 GB, free: 1.734 MB / 398.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.0003859/0.177, allocations: 147.1 kB / 0.5213 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.1773, allocations: 149 kB / 0.5215 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1773, allocations: 0 / 0.5215 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.1774, allocations: 27.92 kB / 0.5215 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.1776, allocations: 11.98 kB / 0.5215 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.1781, allocations: 140.8 kB / 0.5216 GB, free: 1.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.725e-05/0.1782, allocations: 67.34 kB / 0.5217 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.1782, allocations: 17.09 kB / 0.5217 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1783, allocations: 27.36 kB / 0.5218 GB, free: 1.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1783, allocations: 0 / 0.5218 GB, free: 1.086 MB / 398.1 MB Notification: Performance of Templates: time 0.005357/0.1836, allocations: 1.552 MB / 0.5233 GB, free: 15.54 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.407735435292125] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.19484028592705727 0.21245494 0.037494937 Calling exit ...