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.001038/0.001038, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001756/0.001756, allocations: 165 kB / 24.05 MB, free: 456 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.9801/0.9801, allocations: 158.6 MB / 185.9 MB, free: 2.812 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.1501/0.1501, allocations: 32.38 MB / 270.7 MB, free: 14.53 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 3.497e-06/3.497e-06, allocations: 7.938 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.276e-05, allocations: 9.344 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.00176/0.001793, allocations: 0.5548 MB / 348.7 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.00265, allocations: 439.2 kB / 349.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.002694, allocations: 0 / 349.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.551e-05/0.002779, allocations: 3.938 kB / 349.1 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.002906, allocations: 19.91 kB / 349.1 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.003449, allocations: 171.3 kB / 349.3 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.003642, allocations: 91.83 kB / 349.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.003692, allocations: 0 / 349.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.003803, allocations: 47.95 kB / 349.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.006153, allocations: 0.6403 MB / 350.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.006199, allocations: 8 kB / 350.1 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.006282, allocations: 15.92 kB / 350.1 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.006333, allocations: 23.95 kB / 350.1 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.006373, allocations: 15.98 kB / 350.1 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.006585, allocations: 87.69 kB / 350.2 MB, free: 7.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006589, allocations: 0 / 350.2 MB, free: 7.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006591, allocations: 4 kB / 350.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.006595, allocations: 0 / 350.2 MB, free: 7.188 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.0004483/0.007043, allocations: 414.2 kB / 350.6 MB, free: 6.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.00709, allocations: 15.97 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.007139, allocations: 8.938 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.007262, allocations: 124.6 kB / 350.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.007276, allocations: 4.375 kB / 350.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.007293, allocations: 4.375 kB / 350.8 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.007426, allocations: 86.83 kB / 350.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007436, allocations: 192 / 350.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.007452, allocations: 4.375 kB / 350.9 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.00746, allocations: 384 / 350.9 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.007499, allocations: 19.92 kB / 350.9 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.007633, allocations: 113.2 kB / 351 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/0.00769, allocations: 39.05 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.007712, allocations: 15.69 kB / 351.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.007731, allocations: 4 kB / 351.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.007892, allocations: 113.1 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.007894, allocations: 0 / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002188/0.008113, allocations: 105.5 kB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.008144, allocations: 55.41 kB / 351.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.0082, allocations: 157.9 kB / 351.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.008217, allocations: 33.7 kB / 351.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.008242, allocations: 134.8 kB / 351.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.008273, allocations: 39.7 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.008317, allocations: 27.38 kB / 351.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.008369, allocations: 0.4962 MB / 352.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.008402, allocations: 37.69 kB / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.008454, allocations: 115.1 kB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.00856, allocations: 143 kB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.008563, allocations: 0 / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000166/0.008729, allocations: 172.8 kB / 352.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.008758, allocations: 33.7 kB / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.008764, allocations: 0 / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.00878, allocations: 4.281 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.008896, allocations: 27.98 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008901, allocations: 4.078 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.008943, allocations: 11.89 kB / 352.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.008957, allocations: 11.98 kB / 352.8 MB, free: 4.34 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.0001245/0.009082, allocations: 172.5 kB / 352.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.009107, allocations: 4 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.009148, allocations: 12.12 kB / 352.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.009151, allocations: 0 / 352.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.009154, allocations: 4 kB / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.009158, allocations: 3.938 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.009264, allocations: 117.1 kB / 353.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009266, allocations: 0 / 353.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.009303, allocations: 4 kB / 353.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.009306, allocations: 3.984 kB / 353.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.009315, allocations: 4 kB / 353.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009317, allocations: 3.938 kB / 353.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.009319, allocations: 0 / 353.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.009481, allocations: 136.5 kB / 353.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.009492, allocations: 12.14 kB / 353.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.00951, allocations: 0 / 353.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.009628, allocations: 15.97 kB / 353.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.009648, allocations: 7.984 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.009661, allocations: 4 kB / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.137e-05/0.009682, allocations: 131.1 kB / 353.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009682, allocations: 0 / 353.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000233/0.009915, allocations: 20 kB / 353.4 MB, free: 3.641 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.0002566/0.01017, allocations: 132 kB / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.01035, allocations: 136.6 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01035, allocations: 0 / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.01038, allocations: 39.59 kB / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.01055, allocations: 15.97 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.01089, allocations: 138.3 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.01092, allocations: 55.36 kB / 353.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.01097, allocations: 21.14 kB / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.01102, allocations: 82.2 kB / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01102, allocations: 0 / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of Templates: time 0.004145/0.01516, allocations: 1.736 MB / 355.7 MB, free: 1.207 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.1759640402160585]