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.001155/0.001155, allocations: 91.31 kB / 20.42 MB, free: 4.137 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.001031/0.001031, allocations: 169 kB / 23.8 MB, free: 0.7656 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.013/1.013, allocations: 158.6 MB / 185.7 MB, free: 2.488 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.1656/0.1656, allocations: 32.38 MB / 270.4 MB, free: 14.66 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 2.374e-06/2.374e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.953e-05, allocations: 10.19 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.00143/0.00146, allocations: 0.5617 MB / 348.2 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.002255, allocations: 455.1 kB / 348.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.002299, allocations: 4 kB / 348.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.11e-05/0.00239, allocations: 0 / 348.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.002528, allocations: 3.938 kB / 348.7 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.003069, allocations: 179.4 kB / 348.9 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003204, allocations: 79.8 kB / 348.9 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.003242, allocations: 11.92 kB / 349 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.003314, allocations: 43.95 kB / 349 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.00541, allocations: 0.6437 MB / 349.6 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.005448, allocations: 4 kB / 349.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.005516, allocations: 12 kB / 349.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.005572, allocations: 27.89 kB / 349.7 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.005613, allocations: 19.97 kB / 349.7 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.005833, allocations: 87.69 kB / 349.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005836, allocations: 4 kB / 349.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005837, allocations: 0 / 349.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005842, allocations: 0 / 349.8 MB, free: 7.434 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.0004987/0.00634, allocations: 418.2 kB / 350.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.006381, allocations: 8.031 kB / 350.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.006444, allocations: 4.938 kB / 350.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.006577, allocations: 120.6 kB / 350.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.006588, allocations: 4.375 kB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.006608, allocations: 4.375 kB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.006762, allocations: 86.91 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.006776, allocations: 8.125 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.006794, allocations: 8.312 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006802, allocations: 384 / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.006846, allocations: 23.91 kB / 350.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.006975, allocations: 124.6 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.007043, allocations: 47.05 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.007075, allocations: 19.67 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.007088, allocations: 0 / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.007241, allocations: 125.1 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.007242, allocations: 4 kB / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002364/0.007478, allocations: 109.5 kB / 350.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.007515, allocations: 59.41 kB / 350.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.007569, allocations: 165.8 kB / 351.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.007585, allocations: 33.7 kB / 351.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.007608, allocations: 126.9 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.007638, allocations: 23.8 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.00768, allocations: 39.36 kB / 351.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.007736, allocations: 0.4884 MB / 351.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.007777, allocations: 49.69 kB / 351.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.007832, allocations: 115.1 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.00794, allocations: 143.1 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.007943, allocations: 3.938 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000162/0.008105, allocations: 176.9 kB / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.008128, allocations: 33.64 kB / 352.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.008135, allocations: 4 kB / 352.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.008151, allocations: 4 kB / 352.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.008256, allocations: 23.92 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.008264, allocations: 7.938 kB / 352.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.008303, allocations: 11.95 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.008314, allocations: 4.219 kB / 352.4 MB, free: 4.527 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.0001021/0.008416, allocations: 182.8 kB / 352.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.008437, allocations: 4 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.008472, allocations: 12.12 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008474, allocations: 0 / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.008479, allocations: 3.938 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.008483, allocations: 0 / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.579e-05/0.008559, allocations: 128.5 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.00856, allocations: 0 / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.008583, allocations: 12.05 kB / 352.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008585, allocations: 4 kB / 352.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.008594, allocations: 4 kB / 352.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008595, allocations: 0 / 352.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008596, allocations: 0 / 352.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.008747, allocations: 144.5 kB / 352.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.008756, allocations: 11.89 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.008777, allocations: 4 kB / 352.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.008883, allocations: 11.98 kB / 352.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.008909, allocations: 3.984 kB / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.008922, allocations: 15.94 kB / 352.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.066e-05/0.008943, allocations: 127.2 kB / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008943, allocations: 0 / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.009169, allocations: 20 kB / 353.1 MB, free: 3.789 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.0002211/0.00939, allocations: 134.3 kB / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.009557, allocations: 141.1 kB / 353.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.009559, allocations: 64 / 353.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.009605, allocations: 43.59 kB / 353.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.009771, allocations: 19.97 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.0101, allocations: 142.2 kB / 353.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.649e-05/0.01012, allocations: 63.3 kB / 353.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.004e-05/0.01016, allocations: 16.7 kB / 353.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.01018, allocations: 12.5 kB / 353.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01019, allocations: 0 / 353.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of Templates: time 0.003718/0.0139, allocations: 1.692 MB / 355.3 MB, free: 1.453 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.2897765347734094]