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.0008567/0.0008567, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.00205, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007457/0.0007457, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009378/0.001684, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9931/0.9931, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2204/1.214, allocations: 49.5 MB / 220.5 MB, free: 5.266 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.1378/0.1378, allocations: 32.35 MB / 253.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02199/0.1598, allocations: 12.3 MB / 265.9 MB, free: 7.812 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.533e-06/1.533e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.258e-05, allocations: 2.312 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.0009496/0.0009622, allocations: 0.5905 MB / 267.8 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005297/0.001492, allocations: 451.1 kB / 268.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.001522, allocations: 0 / 268.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.001547, allocations: 3.938 kB / 268.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.001591, allocations: 11.97 kB / 268.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.001994, allocations: 175.3 kB / 268.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.002121, allocations: 79.86 kB / 268.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.002151, allocations: 3.938 kB / 268.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.002229, allocations: 47.95 kB / 268.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.003749, allocations: 0.6339 MB / 269.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.003783, allocations: 0 / 269.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.003854, allocations: 15.98 kB / 269.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.003894, allocations: 15.94 kB / 269.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.003919, allocations: 12 kB / 269.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004055, allocations: 63.75 kB / 269.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.004067, allocations: 0 / 269.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004067, allocations: 0 / 269.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.004081, allocations: 0 / 269.3 MB, free: 4.418 MB / 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.0004175/0.004499, allocations: 301 kB / 269.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.004528, allocations: 8.031 kB / 269.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.004564, allocations: 4.938 kB / 269.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.004692, allocations: 133.6 kB / 269.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.004701, allocations: 12.3 kB / 269.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004715, allocations: 4.375 kB / 269.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.00482, allocations: 86.89 kB / 269.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004829, allocations: 192 / 269.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.004842, allocations: 384 / 269.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004847, allocations: 384 / 269.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.004886, allocations: 15.92 kB / 269.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.004994, allocations: 71.83 kB / 269.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.005045, allocations: 34.5 kB / 270 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.005068, allocations: 12.86 kB / 270 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.005078, allocations: 0 / 270 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.005203, allocations: 114.3 kB / 270.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.005204, allocations: 0 / 270.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001286/0.005332, allocations: 73.89 kB / 270.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.005368, allocations: 55.41 kB / 270.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.005418, allocations: 110.7 kB / 270.3 MB, free: 3.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.005436, allocations: 33.7 kB / 270.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.005458, allocations: 80.14 kB / 270.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.005484, allocations: 31.7 kB / 270.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.005517, allocations: 33.69 kB / 270.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.005585, allocations: 322.8 kB / 270.8 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.00561, allocations: 37.69 kB / 270.8 MB, free: 2.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-05/0.005655, allocations: 88.55 kB / 270.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.293e-05/0.005748, allocations: 123.3 kB / 271.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.00575, allocations: 4 kB / 271.1 MB, free: 2.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001015/0.005851, allocations: 144.9 kB / 271.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.005881, allocations: 33.7 kB / 271.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.005888, allocations: 7.984 kB / 271.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.005898, allocations: 0 / 271.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.005997, allocations: 23.98 kB / 271.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.006002, allocations: 7.938 kB / 271.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.006032, allocations: 20.05 kB / 271.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.006042, allocations: 12.06 kB / 271.3 MB, free: 2.16 MB / 266.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 9.458e-05/0.006137, allocations: 120.7 kB / 271.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.00615, allocations: 11.98 kB / 271.4 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.006171, allocations: 8.125 kB / 271.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.006174, allocations: 0 / 271.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006175, allocations: 0 / 271.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.00618, allocations: 3.984 kB / 271.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.926e-05/0.006249, allocations: 77.83 kB / 271.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00625, allocations: 7.938 kB / 271.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.006273, allocations: 15.92 kB / 271.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.006279, allocations: 3.953 kB / 271.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006281, allocations: 0 / 271.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.006286, allocations: 4 kB / 271.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006287, allocations: 0 / 271.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006287, allocations: 0 / 271.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.506e-05/0.006373, allocations: 110.8 kB / 271.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.006388, allocations: 4 kB / 271.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.006463, allocations: 15.95 kB / 271.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.006482, allocations: 7.938 kB / 271.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.006491, allocations: 11.98 kB / 271.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.516e-06/0.0065, allocations: 8.859 kB / 271.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0065, allocations: 0 / 271.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001308/0.006631, allocations: 20 kB / 271.7 MB, free: 1.688 MB / 266.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.0001891/0.00682, allocations: 120.3 kB / 271.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.006943, allocations: 142.2 kB / 272 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.00695, allocations: 8.062 kB / 272 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.006974, allocations: 24.84 kB / 272 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.466e-05/0.007049, allocations: 27.91 kB / 272 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.007266, allocations: 142.2 kB / 272.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.837e-05/0.007295, allocations: 63.34 kB / 272.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.973e-05/0.007325, allocations: 12.72 kB / 272.3 MB, free: 1.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.007356, allocations: 55.38 kB / 272.3 MB, free: 1.02 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007357, allocations: 7.938 kB / 272.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of Templates: time 0.002803/0.01016, allocations: 1.756 MB / 274.1 MB, free: 15.25 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.8207439072430134]