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.001045/0.001045, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001018/0.001018, allocations: 169 kB / 24.24 MB, free: 312 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.007/1.007, allocations: 158.6 MB / 186 MB, free: 2.906 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.1528/0.1528, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.844e-06/1.844e-06, allocations: 0 / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.025e-05, allocations: 21.28 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001709/0.001739, allocations: 0.5587 MB / 348.2 MB, free: 9.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008442/0.002584, allocations: 447.1 kB / 348.7 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.002638, allocations: 0 / 348.7 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.623e-05/0.002724, allocations: 7.938 kB / 348.7 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.002862, allocations: 7.984 kB / 348.7 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.003522, allocations: 171.3 kB / 348.9 MB, free: 8.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003678, allocations: 87.78 kB / 348.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.003726, allocations: 3.984 kB / 348.9 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.639e-05/0.003812, allocations: 47.95 kB / 349 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.005692, allocations: 0.6397 MB / 349.6 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.005729, allocations: 4 kB / 349.6 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.469e-05/0.005794, allocations: 16 kB / 349.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.005839, allocations: 27.89 kB / 349.7 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.005879, allocations: 15.97 kB / 349.7 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.006052, allocations: 87.69 kB / 349.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.006059, allocations: 8 kB / 349.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006061, allocations: 0 / 349.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.006067, allocations: 0 / 349.8 MB, free: 7.781 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.0004088/0.006476, allocations: 414.2 kB / 350.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.006509, allocations: 8.031 kB / 350.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.006566, allocations: 4.938 kB / 350.2 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.006686, allocations: 124.6 kB / 350.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.006694, allocations: 4.312 kB / 350.3 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.006711, allocations: 8.375 kB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.006837, allocations: 86.91 kB / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.006844, allocations: 4.188 kB / 350.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.006859, allocations: 8.297 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006866, allocations: 384 / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.006906, allocations: 31.91 kB / 350.5 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.007018, allocations: 120.6 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.007073, allocations: 50.98 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.007099, allocations: 15.69 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.007113, allocations: 0 / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.007262, allocations: 125 kB / 350.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.007264, allocations: 0 / 350.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002244/0.007488, allocations: 113.7 kB / 350.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.007521, allocations: 51.41 kB / 350.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.007574, allocations: 165.8 kB / 351.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.00759, allocations: 33.7 kB / 351.1 MB, free: 6.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.007609, allocations: 130.9 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.007636, allocations: 27.78 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.00767, allocations: 39.38 kB / 351.3 MB, free: 6.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.007717, allocations: 496.1 kB / 351.8 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.007751, allocations: 49.69 kB / 351.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.007797, allocations: 111.2 kB / 352 MB, free: 5.348 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.007897, allocations: 147.1 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.0079, allocations: 0 / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001312/0.008031, allocations: 180.8 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.008052, allocations: 37.64 kB / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.008057, allocations: 0 / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008071, allocations: 4 kB / 352.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.008165, allocations: 23.98 kB / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.008172, allocations: 11.88 kB / 352.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.008209, allocations: 7.953 kB / 352.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.008217, allocations: 4 kB / 352.4 MB, free: 4.875 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.0001084/0.008326, allocations: 176.8 kB / 352.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.008345, allocations: 8 kB / 352.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.008373, allocations: 8.125 kB / 352.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008375, allocations: 0 / 352.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008379, allocations: 3.938 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.008383, allocations: 0 / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.582e-05/0.008449, allocations: 124.6 kB / 352.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.00845, allocations: 64 / 352.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.00847, allocations: 19.92 kB / 352.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008472, allocations: 4 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.008479, allocations: 0 / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.00848, allocations: 0 / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008481, allocations: 0 / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.0086, allocations: 152.4 kB / 352.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.008608, allocations: 11.89 kB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.008627, allocations: 4 kB / 352.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.008719, allocations: 7.984 kB / 352.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.008745, allocations: 8.172 kB / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.008756, allocations: 15.92 kB / 352.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.591e-05/0.008772, allocations: 127.2 kB / 353 MB, free: 4.152 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008772, allocations: 0 / 353 MB, free: 4.152 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.008935, allocations: 24 kB / 353 MB, free: 4.129 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.0002199/0.009155, allocations: 124.4 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.009289, allocations: 148.6 kB / 353.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.009291, allocations: 448 / 353.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.009322, allocations: 31.66 kB / 353.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.009446, allocations: 19.98 kB / 353.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.009711, allocations: 142.2 kB / 353.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.203e-05/0.009733, allocations: 67.28 kB / 353.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.009769, allocations: 16.66 kB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.009787, allocations: 12.5 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.009788, allocations: 0 / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of Templates: time 0.003246/0.01303, allocations: 1.549 MB / 355.1 MB, free: 1.945 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.1669138511642814]