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.00121/0.00121, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001246/0.001246, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.9613/0.9613, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1398/0.1398, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.874e-06/1.874e-06, allocations: 3.938 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.452e-05, allocations: 6.312 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001186/0.001211, allocations: 0.5615 MB / 348.2 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.001989, allocations: 455.1 kB / 348.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.002041, allocations: 4 kB / 348.7 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.002149, allocations: 3.938 kB / 348.7 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.002303, allocations: 7.984 kB / 348.7 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.002849, allocations: 175.3 kB / 348.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.002992, allocations: 87.78 kB / 348.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.003034, allocations: 3.984 kB / 348.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.307e-05/0.003117, allocations: 47.95 kB / 349 MB, free: 8.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.004966, allocations: 0.6354 MB / 349.6 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.005001, allocations: 4 kB / 349.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.005077, allocations: 15.98 kB / 349.6 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.005133, allocations: 23.91 kB / 349.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.005177, allocations: 19.97 kB / 349.7 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005377, allocations: 87.69 kB / 349.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00538, allocations: 0 / 349.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005382, allocations: 0 / 349.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.005388, allocations: 4 kB / 349.8 MB, free: 7.457 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.0005243/0.005913, allocations: 410.2 kB / 350.2 MB, free: 7.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.005959, allocations: 12.03 kB / 350.2 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.00602, allocations: 8.938 kB / 350.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.00615, allocations: 120.6 kB / 350.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.006162, allocations: 8.312 kB / 350.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.006182, allocations: 4.375 kB / 350.3 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.006326, allocations: 94.89 kB / 350.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.006336, allocations: 4.125 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.006352, allocations: 4.375 kB / 350.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.006361, allocations: 4.359 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.006405, allocations: 27.91 kB / 350.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.006533, allocations: 120.6 kB / 350.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.256e-05/0.006595, allocations: 50.98 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.006624, allocations: 19.67 kB / 350.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.006641, allocations: 0 / 350.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.006786, allocations: 117 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.91e-07/0.006787, allocations: 0 / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002153/0.007002, allocations: 113.5 kB / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.007037, allocations: 55.41 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/0.007095, allocations: 169.8 kB / 351.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.00711, allocations: 29.7 kB / 351.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.007133, allocations: 130.9 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.007162, allocations: 31.92 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.007199, allocations: 31.38 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.007286, allocations: 0.4962 MB / 351.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.00733, allocations: 37.69 kB / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.007385, allocations: 119.2 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.007486, allocations: 147.1 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007489, allocations: 0 / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001309/0.00762, allocations: 184.8 kB / 352.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.00764, allocations: 29.7 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.007651, allocations: 4 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.007665, allocations: 0 / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.007765, allocations: 23.98 kB / 352.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.007774, allocations: 11.88 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.007803, allocations: 11.95 kB / 352.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.007811, allocations: 4.219 kB / 352.4 MB, free: 4.543 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 9.209e-05/0.007903, allocations: 172.6 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.007921, allocations: 8 kB / 352.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.007953, allocations: 4.125 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.007955, allocations: 4 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.00796, allocations: 3.938 kB / 352.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007964, allocations: 0 / 352.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.611e-05/0.00803, allocations: 128.6 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008031, allocations: 4.062 kB / 352.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.008053, allocations: 15.92 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.008054, allocations: 0 / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008063, allocations: 4 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008064, allocations: 0 / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.008064, allocations: 0 / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.00819, allocations: 144.5 kB / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.008197, allocations: 7.891 kB / 352.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.008216, allocations: 8 kB / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.008309, allocations: 11.98 kB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.008336, allocations: 4.172 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.008348, allocations: 15.94 kB / 352.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.483e-05/0.008373, allocations: 131.2 kB / 353 MB, free: 3.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008373, allocations: 0 / 353 MB, free: 3.824 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.008536, allocations: 20 kB / 353 MB, free: 3.805 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.000228/0.008764, allocations: 128.1 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.008937, allocations: 149 kB / 353.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008939, allocations: 4.062 kB / 353.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.00897, allocations: 31.67 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.009098, allocations: 19.97 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.009386, allocations: 138.2 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.7e-05/0.009413, allocations: 59.3 kB / 353.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.009448, allocations: 20.64 kB / 353.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.009474, allocations: 20.5 kB / 353.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.009475, allocations: 0 / 353.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of Templates: time 0.003101/0.01258, allocations: 1.542 MB / 355.1 MB, free: 1.621 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.2485969262197614]