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.00112/0.00112, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001809/0.00293, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0008281/0.0008281, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001752/0.00258, allocations: 483.5 kB / 11.81 MB, free: 2.363 MB / 13.93 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.8809/0.8809, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1514/1.032, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.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.1336/0.1336, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02389/0.1575, allocations: 12.3 MB / 266.1 MB, free: 3.883 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.322e-06/1.322e-06, allocations: 0 / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.457e-05, allocations: 10.19 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001722/0.001747, allocations: 0.5984 MB / 268 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007033/0.00245, allocations: 447.1 kB / 268.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.002491, allocations: 3.938 kB / 268.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.002524, allocations: 0 / 268.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.002582, allocations: 11.92 kB / 268.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.003117, allocations: 183.2 kB / 268.6 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.003283, allocations: 83.84 kB / 268.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.979e-05/0.003312, allocations: 0 / 268.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.003408, allocations: 47.95 kB / 268.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.005645, allocations: 0.6339 MB / 269.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.005684, allocations: 0 / 269.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.005781, allocations: 12 kB / 269.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.00583, allocations: 15.98 kB / 269.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.005863, allocations: 8 kB / 269.4 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.00607, allocations: 67.75 kB / 269.5 MB, free: 460 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.006079, allocations: 0 / 269.5 MB, free: 460 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006081, allocations: 0 / 269.5 MB, free: 460 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.006092, allocations: 0 / 269.5 MB, free: 460 kB / 266.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.0005201/0.006612, allocations: 309 kB / 269.8 MB, free: 116 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.006653, allocations: 12.02 kB / 269.8 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.00671, allocations: 4.938 kB / 269.8 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.006885, allocations: 125.7 kB / 269.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.006899, allocations: 4.375 kB / 269.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.006924, allocations: 4.375 kB / 269.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.00707, allocations: 86.84 kB / 270 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.007078, allocations: 192 / 270 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.007095, allocations: 4.359 kB / 270 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.0071, allocations: 384 / 270 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.00715, allocations: 15.92 kB / 270 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.007264, allocations: 67.88 kB / 270.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.511e-05/0.00733, allocations: 34.62 kB / 270.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.007359, allocations: 12.86 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.007371, allocations: 0 / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.007571, allocations: 118.1 kB / 270.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.007572, allocations: 0 / 270.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001827/0.007755, allocations: 81.53 kB / 270.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.007794, allocations: 55.41 kB / 270.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.007863, allocations: 106.8 kB / 270.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.007889, allocations: 29.7 kB / 270.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.00792, allocations: 84.14 kB / 270.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.007958, allocations: 27.83 kB / 270.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.008036, allocations: 29.7 kB / 270.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.008129, allocations: 330.8 kB / 271 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.008169, allocations: 33.7 kB / 271 MB, free: 14.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.00824, allocations: 96.42 kB / 271.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.008372, allocations: 123.2 kB / 271.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008375, allocations: 4 kB / 271.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001616/0.008536, allocations: 140.9 kB / 271.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.008577, allocations: 37.64 kB / 271.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.008584, allocations: 4 kB / 271.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.008598, allocations: 0 / 271.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.00873, allocations: 27.98 kB / 271.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.008734, allocations: 0 / 271.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.008858, allocations: 27.81 kB / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.00887, allocations: 12.22 kB / 271.5 MB, free: 14.18 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.0001311/0.009001, allocations: 128.8 kB / 271.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.009026, allocations: 7.984 kB / 271.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.009065, allocations: 16.11 kB / 271.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009068, allocations: 0 / 271.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.00907, allocations: 0 / 271.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.009073, allocations: 0 / 271.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.00918, allocations: 77.83 kB / 271.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.009185, allocations: 0 / 271.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.00923, allocations: 15.98 kB / 271.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.00924, allocations: 3.953 kB / 271.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.009243, allocations: 0 / 271.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.009252, allocations: 4 kB / 271.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.009255, allocations: 3.938 kB / 271.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009257, allocations: 0 / 271.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.009387, allocations: 102.7 kB / 271.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.00941, allocations: 4 kB / 271.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.009527, allocations: 7.984 kB / 271.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.00955, allocations: 7.984 kB / 271.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.009566, allocations: 8 kB / 271.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.695e-05/0.009583, allocations: 12.84 kB / 271.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009583, allocations: 0 / 271.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.009804, allocations: 20 kB / 271.9 MB, free: 13.72 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.0002976/0.0101, allocations: 116.3 kB / 272 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.01027, allocations: 142.4 kB / 272.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.01027, allocations: 4.094 kB / 272.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.01032, allocations: 32.78 kB / 272.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.01043, allocations: 27.91 kB / 272.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.01075, allocations: 146.5 kB / 272.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.01079, allocations: 59.34 kB / 272.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.01084, allocations: 12.72 kB / 272.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.01089, allocations: 59.38 kB / 272.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01089, allocations: 0 / 272.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of Templates: time 0.004236/0.01513, allocations: 1.763 MB / 274.3 MB, free: 11.28 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 -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.496961921453476]