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.001486/0.001486, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.001605/0.001605, allocations: 157.6 kB / 23.52 MB, free: 0.918 MB / 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.544/1.544, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 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.2391/0.2391, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.556e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001414/0.00145, allocations: 0.5424 MB / 347.5 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.002227, allocations: 445 kB / 347.9 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.002261, allocations: 7.938 kB / 347.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.002362, allocations: 3.938 kB / 347.9 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.002476, allocations: 0 / 347.9 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.002994, allocations: 175.4 kB / 348.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.003128, allocations: 83.84 kB / 348.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.003161, allocations: 4 kB / 348.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.003237, allocations: 51.88 kB / 348.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/0.006575, allocations: 0.6466 MB / 348.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.006605, allocations: 0 / 348.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.006668, allocations: 19.98 kB / 348.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.006712, allocations: 19.97 kB / 348.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.006756, allocations: 23.91 kB / 348.9 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.006932, allocations: 79.77 kB / 349 MB, free: 7.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006934, allocations: 0 / 349 MB, free: 7.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006935, allocations: 0 / 349 MB, free: 7.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.00694, allocations: 3.984 kB / 349 MB, free: 7.84 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.0004561/0.007397, allocations: 319.9 kB / 349.3 MB, free: 7.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.00743, allocations: 8.031 kB / 349.3 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.007493, allocations: 4.938 kB / 349.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.007627, allocations: 125.7 kB / 349.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.007639, allocations: 4.375 kB / 349.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.007664, allocations: 4.375 kB / 349.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.007841, allocations: 98.17 kB / 349.6 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00785, allocations: 192 / 349.6 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.007871, allocations: 4.375 kB / 349.6 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.007876, allocations: 4.375 kB / 349.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.007935, allocations: 23.92 kB / 349.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.008062, allocations: 113.2 kB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.008139, allocations: 46.5 kB / 349.8 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.008191, allocations: 24.91 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.008211, allocations: 0 / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.00839, allocations: 131.3 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.008392, allocations: 7.922 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002711/0.008663, allocations: 121.6 kB / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.008689, allocations: 59.34 kB / 350.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.008741, allocations: 105.8 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.008764, allocations: 33.7 kB / 350.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.008782, allocations: 80.14 kB / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.008807, allocations: 27.98 kB / 350.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.008845, allocations: 29.72 kB / 350.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.008897, allocations: 322.8 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.008948, allocations: 53.62 kB / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.009007, allocations: 104.5 kB / 350.8 MB, free: 5.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.009162, allocations: 144.4 kB / 351 MB, free: 5.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009165, allocations: 0 / 351 MB, free: 5.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001831/0.009348, allocations: 200.8 kB / 351.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.009368, allocations: 29.7 kB / 351.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.009373, allocations: 4 kB / 351.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.009399, allocations: 4 kB / 351.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.009517, allocations: 23.92 kB / 351.2 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.009524, allocations: 7.938 kB / 351.2 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.009569, allocations: 3.938 kB / 351.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.009581, allocations: 12.22 kB / 351.3 MB, free: 5.332 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 0.0001158/0.009697, allocations: 129.8 kB / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.009725, allocations: 4 kB / 351.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.009755, allocations: 12.12 kB / 351.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.009757, allocations: 0 / 351.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.009761, allocations: 7.875 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.009764, allocations: 0 / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/0.009852, allocations: 109.3 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009853, allocations: 4 kB / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.009885, allocations: 7.984 kB / 351.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.009887, allocations: 0 / 351.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.009897, allocations: 4 kB / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009898, allocations: 0 / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009898, allocations: 0 / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.01008, allocations: 149.1 kB / 351.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.01008, allocations: 3.953 kB / 351.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.0101, allocations: 8.062 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.01029, allocations: 23.97 kB / 351.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.01033, allocations: 11.98 kB / 351.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01034, allocations: 11.88 kB / 351.7 MB, free: 4.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.233e-05/0.01036, allocations: 79.27 kB / 351.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01036, allocations: 4 kB / 351.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.01059, allocations: 23.94 kB / 351.8 MB, free: 4.695 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.0002516/0.01084, allocations: 128.8 kB / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.01104, allocations: 153.3 kB / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.01104, allocations: 0 / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.0111, allocations: 31.98 kB / 352.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.01127, allocations: 23.91 kB / 352.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.01164, allocations: 140.5 kB / 352.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.01168, allocations: 71.28 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.106e-05/0.01172, allocations: 12.72 kB / 352.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.01175, allocations: 20.55 kB / 352.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01175, allocations: 4 kB / 352.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of Templates: time 0.003984/0.01573, allocations: 1.541 MB / 354 MB, free: 2.504 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=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: 4.967331447056495]