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.002274/0.002274, allocations: 74.11 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002778/0.002778, allocations: 171.2 kB / 23.22 MB, free: 4.887 MB / 14.72 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.648/1.648, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.2373/0.2373, allocations: 32.37 MB / 269.6 MB, free: 2.73 MB / 254.1 MB " [Timeout remaining time 179] 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.1.|cnt.2.|cnt.3.|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.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 407.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.101e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.002039/0.00208, allocations: 0.5379 MB / 407.9 MB, free: 296 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.00337, allocations: 441 kB / 408.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.00343, allocations: 0 / 408.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.003578, allocations: 3.938 kB / 408.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.003782, allocations: 7.984 kB / 408.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.004718, allocations: 179.3 kB / 408.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.004981, allocations: 79.86 kB / 408.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.00505, allocations: 0 / 408.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.005181, allocations: 51.94 kB / 408.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.008613, allocations: 475.5 kB / 409.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.008671, allocations: 4 kB / 409.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.008762, allocations: 19.98 kB / 409.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.008833, allocations: 23.91 kB / 409.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.008891, allocations: 19.97 kB / 409.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.009148, allocations: 83.73 kB / 409.3 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.009153, allocations: 0 / 409.3 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009154, allocations: 0 / 409.3 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.009166, allocations: 0 / 409.3 MB, free: 15 MB / 350.1 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.0007726/0.009939, allocations: 312 kB / 409.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.00999, allocations: 16.03 kB / 409.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.01005, allocations: 4.891 kB / 409.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.0103, allocations: 133.6 kB / 409.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.01032, allocations: 4.359 kB / 409.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.01034, allocations: 4.375 kB / 409.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.01062, allocations: 86.2 kB / 409.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01063, allocations: 192 / 409.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.01066, allocations: 4.375 kB / 409.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.01067, allocations: 384 / 409.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.803e-05/0.01075, allocations: 27.91 kB / 409.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.01098, allocations: 109.3 kB / 409.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.0111, allocations: 46.5 kB / 410 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.01116, allocations: 16.92 kB / 410 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.01118, allocations: 4 kB / 410 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.0115, allocations: 131.2 kB / 410.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.0115, allocations: 0 / 410.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000375/0.01188, allocations: 125.9 kB / 410.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.01194, allocations: 63.33 kB / 410.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.01205, allocations: 105.9 kB / 410.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.01208, allocations: 29.7 kB / 410.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.01214, allocations: 84.12 kB / 410.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.01219, allocations: 31.84 kB / 410.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.01224, allocations: 33.64 kB / 410.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.01242, allocations: 314.8 kB / 410.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.01251, allocations: 57.61 kB / 411 MB, free: 13.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.01264, allocations: 96.56 kB / 411.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.0129, allocations: 148.4 kB / 411.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.01291, allocations: 4 kB / 411.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002959/0.0132, allocations: 180.8 kB / 411.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.01327, allocations: 33.7 kB / 411.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01327, allocations: 224 / 411.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.0133, allocations: 8 kB / 411.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.01343, allocations: 24.05 kB / 411.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.01344, allocations: 7.938 kB / 411.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.01349, allocations: 7.953 kB / 411.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.0135, allocations: 4 kB / 411.5 MB, free: 12.52 MB / 350.1 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.0001861/0.01369, allocations: 138 kB / 411.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.01372, allocations: 4 kB / 411.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.01376, allocations: 8.125 kB / 411.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01376, allocations: 8 kB / 411.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/0.01378, allocations: 7.922 kB / 411.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01378, allocations: 0 / 411.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01393, allocations: 113.5 kB / 411.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.01393, allocations: 0 / 411.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.01396, allocations: 7.938 kB / 411.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01397, allocations: 3.984 kB / 411.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.01398, allocations: 7.938 kB / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01398, allocations: 0 / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01398, allocations: 0 / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.01423, allocations: 137 kB / 411.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.01424, allocations: 11.95 kB / 411.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01426, allocations: 3.984 kB / 411.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.01447, allocations: 19.97 kB / 411.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.0145, allocations: 3.938 kB / 411.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.01452, allocations: 19.86 kB / 412 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.01457, allocations: 79.28 kB / 412 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01457, allocations: 0 / 412 MB, free: 11.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.01484, allocations: 23.94 kB / 412.1 MB, free: 11.87 MB / 350.1 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.0003457/0.01518, allocations: 126.5 kB / 412.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.01544, allocations: 149 kB / 412.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01544, allocations: 3.938 kB / 412.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.0155, allocations: 23.98 kB / 412.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.01568, allocations: 8 kB / 412.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.01611, allocations: 140.7 kB / 412.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.712e-05/0.01619, allocations: 79.7 kB / 412.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.01623, allocations: 12.72 kB / 412.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.01627, allocations: 16.5 kB / 412.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.01627, allocations: 0 / 412.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Templates: time 0.004947/0.02121, allocations: 1.553 MB / 414.2 MB, free: 9.703 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.320071708410978] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.0322050005197525 0.048297198000000006 0.035771154 Calling exit ...